pgsql: Add missing quote_identifier calls for CREATE TRIGGER ... REFERE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing quote_identifier calls for CREATE TRIGGER ... REFERE
Date: 2018-10-19 04:50:39
Message-ID: E1gDMkB-0005Co-C7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing quote_identifier calls for CREATE TRIGGER ... REFERENCING.

Mixed-case names for transition tables weren't dumped correctly.
Oversight in commit 8c48375e5, per bug #15440 from Karl Czajkowski.

In passing, I couldn't resist a bit of code beautification.

Back-patch to v10 where this was introduced.

Discussion: https://postgr.es/m/15440-02d1468e94d63d76@postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/09397f0ed6c4fd3b76658058e4e914b80a509237

Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-10-19 13:49:57 pgsql: Use whitelist to choose files scanned with pg_verify_checksums
Previous Message Thomas Munro 2018-10-19 01:01:13 pgsql: Refactor pid, random seed and start time initialization.