pg_dump: Fix quoting of domain constraint names
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Jan 2016 23:04:35 +0000 (20:04 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Jan 2016 23:04:35 +0000 (20:04 -0300)
commitdf43fcf4575cf77d85f4c4dcc096661905a6eb33
treef253576c516114aabad5a1432854d2e265c1dd1e
parente1bd684a34c11139a1bf4e5200c3bbe59a0fbfad
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
src/bin/pg_dump/pg_dump.c