Re: dumping strategy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dumping strategy
Дата
Msg-id 25243.991356549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dumping strategy  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: dumping strategy  (Philip Hallstrom <philip@adhesivemedia.com>)
Список pgsql-general
Neil Conway <nconway@klamath.dyndns.org> writes:
>> It's just
>> for i in t1 t2 t3; do pg_dump -t$i mydb > $i.tbl; done

> Although with a strategy like this, they're no guarantee that the
> snapshot you get will be consistent. And if you're using refential
> integrity it might not even restore properly.

Good point.  So who wants to tweak pg_dump to accept multiple -t
switches?  Seems like

    pg_dump -t foo -t bar -t baz dbname

is a reasonably non-ambiguous syntax.

            regards, tom lane

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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: RE: Postgres docs in .chm format --- is this possible?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A question on EFFECTIVE_CACHE_SIZE