Обсуждение: pgsql: Throw an error when using -C and -1 at the same time in

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

pgsql: Throw an error when using -C and -1 at the same time in

От
mha@postgresql.org (Magnus Hagander)
Дата:
Log Message:
-----------
Throw an error when using -C and -1 at the same time in pg_restore.

It's not possible to do CREATE DATABASE inside a transaction, so previously
we just got a server error instead.

Backpatch to 8.2, which is where the -1 feature appeared.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_archiver.c (r1.160 -> r1.161)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.160&r2=1.161)