On 21 April 2017 at 21:31, Ilya Roublev wrote:
> What I need is to make a huge amount of inserts
This may be a silly question but I assume you've already considered
using server-side COPY? That's the most efficient way to load a lot of
data currently.
--
greg
--
Sent via pgsql-hackers maili
On 2017-04-22 09:14:50 +0800, Craig Ringer wrote:
> 2) if the answer to the previous question is negative, is it possible to
> send asynchronous queries in one thread while reading results in another
> thread?
>
>
> Not right now. libpq's state tracking wouldn't cope.
>
> I imagine it could be m
On 22 Apr. 2017 6:04 am, "Ilya Roublev" wrote:
1) is it possible technically (possibly by changing some part of libpq
code) to ignore results (especially for this sort of queries like insert),
processing somehow separately the situation when some error occurs?
There is a patch out there to all
Hello,
I'm investigating Batch/pipelining mode for libpq connected to this thread:
https://www.postgresql.org/message-id/flat/CADT4RqA6XoDCVY-G13ME1oRVshE2oNk4fRHKZC0K-jJymQJV0Q%40mail.gmail.com#cadt4rqa6xodcvy-g13me1orvshe2onk4frhkzc0k-jjymqj...@mail.gmail.com
And I'm wondering, what are the po