Re: pg_restore -t table : can silently omit constraints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore -t table : can silently omit constraints
Дата
Msg-id 19563.1240958229@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore -t table : can silently omit constraints  ("Erik Rijkers" <er@xs4all.nl>)
Список pgsql-bugs
"Erik Rijkers" <er@xs4all.nl> writes:
> I ran into a bug in pg_restore, where it silently omits
> to restore a constraint (here a primary key):

pg_restore's notion of what -t means is very much more restricted than
pg_dump's is.  We might change this someday, but don't hold your breath
(ie, it's a missing feature not a bug).

In the example at hand I'd suggest just using the -t switch on the dump
side and not passing anything to pg_restore.

            regards, tom lane

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

Предыдущее
От: "Erik Rijkers"
Дата:
Сообщение: pg_restore -t table : can silently omit constraints
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Problème password