Re: pg_dump multi VALUES INSERT - Mailing list pgsql-hackers

From Surafel Temesgen
Subject Re: pg_dump multi VALUES INSERT
Date
Msg-id CALAY4q9mSkvSLMcdup+8yS5Mk-BN7uGa_U1jrXcoTXgOtW32rQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump multi VALUES INSERT  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pg_dump multi VALUES INSERT  (Dmitry Dolgov <9erthalion6@gmail.com>)
List pgsql-hackers


On Tue, Nov 6, 2018 at 8:18 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
On 2018-Nov-06, Surafel Temesgen wrote:

> hi,
>
> On Sun, Nov 4, 2018 at 1:18 PM Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>
> > Patch does not seem to apply anymore, could you rebase?
> >
> The attached patch is a rebased version and work by ‘inserts=100’ as
> Stephen suggest

I thought the suggestion was that the number could be any positive
integer, not hardcoded 100. 
ok
It shouldn't take much more code to handle
it that way, which makes more sense to me

yes its not much line of code. Attach is a patch that optionally accept the number of row in a single insert statement and if it is not specified one row per statement used

regards

Surafel

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Next
From: Alvaro Herrera
Date:
Subject: Re: New function pg_stat_statements_reset_query() to resetstatistics of a specific query