Re: Dump Version

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: Dump Version
Дата
Msg-id 6.1.1.1.0.20040813220313.08ac4d60@203.8.195.10
обсуждение исходный текст
Ответ на Re: Dump Version  (strk <strk@keybit.net>)
Ответы Re: Dump Version  (strk <strk@keybit.net>)
Список pgsql-hackers
At 08:53 PM 13/08/2004, strk wrote:
>Commenting out lines from the dump corresponding to objects that
>will be defined by another script.

I may have misunderstood, but try:
    pg_restore -l dumpfile > listfile

then delete lines from listfile that you do not want, and do:
    pg_restore -L listfile dumpfile

and it will only restore the items corresponding to lines in listfile.





----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp.mit.edu:11371       |/ 



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

Предыдущее
От: Thomas Hallgren
Дата:
Сообщение: Trigger function returning null
Следующее
От: Andrew Dunstan
Дата:
Сообщение: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to Windows]