pgsql: pg_dump: Fix quoting of domain constraint names

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Fix quoting of domain constraint names
Date: 2016-01-22 23:05:29
Message-ID: E1aMkll-0000uc-C8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: Fix quoting of domain constraint names

The original code was adding double quotes to an already-quoted
identifier, leading to nonsensical results. Remove the quoting call.

I introduced the broken code in 7eca575d1c of 9.5 era, so backpatch to
9.5.

Report and patch by Elvis Pranskevichus
Reviewed by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/df43fcf4575cf77d85f4c4dcc096661905a6eb33

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-01-23 12:02:24 pgsql: psql: Improve completion of FDW DDL commands
Previous Message Tom Lane 2016-01-22 20:46:29 pgsql: Add trigonometric functions that work in degrees.