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-0000ud-CE@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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1e910cf5baf35721b1d889bd3e976e49e0694857

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.