Re: Further cleanup of pg_dump/pg_restore item selection code

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Further cleanup of pg_dump/pg_restore item selection code
Дата
Msg-id CAKFQuwYp-K+ZjdGnJXTW5HqOugWiWE1UyMmgoKgMy+4mEM4OLw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Further cleanup of pg_dump/pg_restore item selection code  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Further cleanup of pg_dump/pg_restore item selection code
Список pgsql-hackers
On Wednesday, January 24, 2018, Tom Lane <tgl@sss.pgh.pa.us> wrote:
I think you might be missing one of the main points here, which is
that --create is specified as causing both a CREATE DATABASE and a
reconnect to that database.

I missed the implication though I read and even thought about questioning that aspect (in pg_dump though, not restore).

Should pg_restore fail if asked to --create without a database entry in the TOC?

David J.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Further cleanup of pg_dump/pg_restore item selection code
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: PATCH: Exclude unlogged tables from base backups