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

From Tom Lane
Subject Re: pg_dump and insert multi-rows option
Date
Msg-id 27494.1188926521@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump and insert multi-rows option  (Cédric Villemain <cedric.villemain@dalibo.com>)
Responses Re: pg_dump and insert multi-rows option
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: pg_dump and insert multi-rows option
Next
From: David Fetter
Date:
Subject: Re: pg_dump and insert multi-rows option