Re: bulk inserts - Mailing list pgsql-general

From Alan Hodgson
Subject Re: bulk inserts
Date
Msg-id 200909290911.19709@hal.medialogik.com
Whole thread Raw
In response to Re: bulk inserts  (Sam Mason <sam@samason.me.uk>)
Responses Re: bulk inserts  (Sam Mason <sam@samason.me.uk>)
List pgsql-general
On Tuesday 29 September 2009, Sam Mason <sam@samason.me.uk> wrote:
> > I think a big reason is also that the client can stream the data
> > without waiting for a network round trip ack on every statement.
>
> I don't think so.  I'm pretty sure you can send multiple statements in a
> single round trip.  libpq is defined to work in such cases anyway:
>
>   http://www.postgresql.org/docs/current/static/libpq-exec.html
>

I'm sure you probably _can_, but how many programming loops do so?


--
"No animals were harmed in the recording of this episode. We tried but that
damn monkey was just too fast."

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: bulk inserts
Next
From: Tom Lane
Date:
Subject: Re: bulk inserts