Fix up hack to suppress escape_string_warning so that it actually works

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6178762fcf02f5f07099ff2277f8cdd82151cd0e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-06-01T00:15:36Z
Releases: 8.2.0
Fix up hack to suppress escape_string_warning so that it actually works
and there's only one place that's a kluge, ie, appendStringLiteralConn.
Note that pg_dump itself doesn't use appendStringLiteralConn, so its
behavior is not affected; only the other utility programs care.

Files

PathChange+/−
src/bin/pg_dump/dumputils.c modified +16 −1
src/bin/psql/command.c modified +4 −4
src/bin/psql/common.h modified +1 −7
src/bin/psql/copy.c modified +37 −27
src/bin/psql/describe.c modified +1 −5
src/bin/scripts/createdb.c modified +1 −3
src/bin/scripts/createuser.c modified +1 −3