]> git.ipfire.org Git - thirdparty/postgresql.git/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:45 +0000 (03:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 Feb 2004 03:35:45 +0000 (03:35 +0000)
commitd159c4ba4c1ed8ce2f04f3662c4544601ad51d49
tree0b58e115bf035458ca3b796178d38a4e258b7ef1
parentbce5fd63fd1421e8f404b1beefce45dc2aa6cc8d
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