Re: pg_dump and insert multi-rows option - Mailing list pgsql-hackers

From David Fetter
Subject Re: pg_dump and insert multi-rows option
Date
Msg-id 20070904180435.GF26304@fetter.org
Whole thread Raw
In response to Re: pg_dump and insert multi-rows option  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump and insert multi-rows option
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump and insert multi-rows option
Next
From: Andrew Dunstan
Date:
Subject: pg_regress config