Re: suggestion

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: suggestion
Дата
Msg-id
43FE6519.4030007@dunslane.net
Ответ на
Re: suggestion (Jim C. Nasby)
Список
Дерево обсуждения
suggestion "Jan Cruz" <malebug@gmail.com>
Re: suggestion Michael Glaesemann <grzm@myrealbox.com>
Re: suggestion "Jan Cruz" <malebug@gmail.com>
Re: suggestion "Jim C. Nasby" <jnasby@pervasive.com>
Re: suggestion Andrew Dunstan <andrew@dunslane.net>
Re: suggestion Michael Glaesemann <grzm@myrealbox.com>
Re: suggestion Tom Lane <tgl@sss.pgh.pa.us>
Re: suggestion "Jan Cruz" <malebug@gmail.com>
Re: suggestion Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: suggestion "Jan Cruz" <malebug@gmail.com>
Re: suggestion Lukas Smith <smith@pooteeweet.org>


Jim C. Nasby wrote:

>On Fri, Feb 24, 2006 at 07:58:38AM +0800, Jan Cruz wrote:
>  
>
>>On 2/24/06, Michael Glaesemann  wrote:
>>--schema-only flag is the equivalence of -s
>>
>>I also want an option that would exclude  "CREATE INDEX "  whenever
>>a schema is being dump
>>    
>>
>
>At least on my small test database, all the CREATE INDEX commands are
>one-liners. This means it would be trivial to exclude them with
>grep -v 'CREATE INDEX, or grab just them with grep 'CREATE INDEX'. I'd
>just stick the greps in between cat and psql -f -.
>  
>

Much better than this, you can do a custom dump and then use 
pg_restore's --list and --use-list features to remove the things you 
don't want restored. pg_restore is wonderfully flexible.

cheers

andrew



В списке pgsql-hackers по дате отправления
От: Mark Kirkwood
Дата:
Сообщение: Re: fsutil ideas
От: Christopher Kings-Lynne
Дата:
FAQ