Обсуждение: pgsql-server/src/bin/pg_dump pg_backup_archive ...

Поиск
Список
Период
Сортировка

pgsql-server/src/bin/pg_dump pg_backup_archive ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/02/23 23:35:19

Modified files:
    src/bin/pg_dump: pg_backup_archiver.c pg_backup_archiver.h
                     pg_dump.c

Log message:
    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.