Re: pg_dump and insert multi-rows option

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: pg_dump and insert multi-rows option
Дата
Msg-id 20070904180435.GF26304@fetter.org
обсуждение исходный текст
Ответ на Re: pg_dump and insert multi-rows option  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump and insert multi-rows option
Список pgsql-hackers
On Tue, Sep 04, 2007 at 01:22:01PM -0400, Tom Lane wrote:
> Cédric Villemain <cedric.villemain@dalibo.com> writes:
> > Well, I can only make a new ask.  Why is there the --inserts and
> > --attribute-inserts options ?
> 
> It's mostly historical IMHO.  The COPY option used to have bugs for
> corner cases like inheritance child tables that had been ALTERed
> after creation.  That's all gone now.  The only reason I can see to
> use these options today is if you want to try to port the dump to
> some other database ... and in that case you probably shouldn't
> assume multi-insert will work anyway.

I'm pretty sure it does in the current versions of most other DBMSs.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and insert multi-rows option
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pg_regress config