Re: libpq pipelineing - Mailing list pgsql-general

From Samuel Williams
Subject Re: libpq pipelineing
Date
Msg-id CAHkN8V_s+KmSr3gH4YaGrKWJZRRHWKXS6ZjYBUYG1RLE21eLjQ@mail.gmail.com
Whole thread Raw
In response to Re: libpq pipelineing  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: libpq pipelineing  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: libpq pipelineing  (Stephen Frost <sfrost@snowman.net>)
List pgsql-general
Here is a short example:

https://gist.github.com/ioquatix/2f08f78699418f65971035785c80cf18

It makes 10 queries in one "PQsendQuery" and sets single row mode. But
all the results come back at once as shown by the timestamps.

Next I'm planning to investigate streaming large recordsets to see if
it works better/incrementally.



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: libpq pipelineing
Next
From: Matthias Apitz
Date:
Subject: Re: error messages (autovaccum canceled and syntax errors) whileloading a DUMP