]> granicus.if.org Git - postgresql/commit
Cause pg_dump to emit a 'SET client_encoding' command at the start of
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 Feb 2004 03:35:19 +0000 (03:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 Feb 2004 03:35:19 +0000 (03:35 +0000)
commit92bec9a0bc459c13b546ef0e601d43311ea2b8dd
tree4492dd6d55621456ba215b37b4a5ba7c923b0dff
parent55fb17273983d81838ed1280b87fb2ec7b9c775e
Cause pg_dump to emit a 'SET client_encoding' command at the start of
any restore operation, thereby ensuring that dumped data is interpreted
the same way it was dumped even if the target database has a different
encoding.  Per suggestions from Pavel Stehule and others.  Also,
simplify scheme for handling check_function_bodies ... we may as well
just set that at the head of the script.
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_dump.c