Re: pg_dump multi VALUES INSERT

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: pg_dump multi VALUES INSERT
Дата
Msg-id
20181105023013.GD1718@paquier.xyz
Ответ на
Список
Дерево обсуждения
pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_dump multi VALUES INSERT Stephen Frost <sfrost@snowman.net>
Re: pg_dump multi VALUES INSERT Michael Paquier <michael@paquier.xyz>
Re: pg_dump multi VALUES INSERT Stephen Frost <sfrost@snowman.net>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Pavel Stehule <pavel.stehule@gmail.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Dmitry Dolgov <9erthalion6@gmail.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT "David G. Johnston" <david.g.johnston@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT Michael Paquier <michael@paquier.xyz>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT Michael Paquier <michael@paquier.xyz>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Fabien COELHO <coelho@cri.ensmp.fr>
Re: pg_dump multi VALUES INSERT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
Re: pg_dump multi VALUES INSERT David Rowley <david.rowley@2ndquadrant.com>
Re: pg_dump multi VALUES INSERT Surafel Temesgen <surafel3000@gmail.com>
On Wed, Oct 17, 2018 at 03:05:28PM -0400, Stephen Frost wrote:
> The point of it is that it makes loading into other RDBMS faster.  Yes,
> it has many of the same issues as our COPY does, but we support it
> because it's much faster.  The same is true here, just for other
> databases, so I'm +1 on the general idea.

Well, the patch author has mentioned that he cares about also being able
to detect errors when processing the dump, which multi inserts make that
easier to check for.  However, even if you specify --data-only you still
need to worry about the first SET commands ahead, which requires manual
handling of the dump...

I am honestly not convinced that it is worth complicating pg_dump for
that, as there is no guarantee either that the DDLs generated by pg_dump
will be compatible with what other systems expect.  This kind of
compatibility for fetch and reload can also be kind of tricky with
portability issues, so I'd rather let this stuff being handled correctly
by other tools like pgloader or others rather than expecting to get this
stuff half-baked within Postgres core tools.
--
Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Stephen Frost
Дата:
FAQ