Truncate on pg_dump / pg_restore

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Truncate on pg_dump / pg_restore
Дата
Msg-id 4902BD63.2040704@obviously.com
обсуждение исходный текст
Ответы Re: Truncate on pg_dump / pg_restore
Список pgsql-sql
Dear Postgres Gurus;

Is there a way to truncate a table, at pg_dump time?

I'm aware of various ways to exclude a table from a dump (>= 8.2), or to
selectively pg_restore.  What I'm seeking here is different.  I've got
tables with pretty disposable data... meaning I want to drop the data...
but restore empty indexed tables at pg_restore time.

Doable?


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

Предыдущее
От: "David Garamond"
Дата:
Сообщение: Re: grouping/clustering query
Следующее
От: "chris smith"
Дата:
Сообщение: Re: Truncate on pg_dump / pg_restore