From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Cédric Villemain <cedric(dot)villemain(at)dalibo(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: pg_dump and insert multi-rows option |
Date: | 2007-09-04 18:04:35 |
Message-ID: | 20070904180435.GF26304@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Sep 04, 2007 at 01:22:01PM -0400, Tom Lane wrote:
> =?iso-8859-15?q?C=E9dric_Villemain?= <cedric(dot)villemain(at)dalibo(dot)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(at)fetter(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Florian G. Pflug | 2007-09-04 18:11:11 | Re: Lazy xid assignment V4 |
Previous Message | Tom Lane | 2007-09-04 18:02:09 | Re: Lazy xid assignment V4 |