Re: Pipelining INSERTs using libpq

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Florian Weimer <fweimer(at)redhat(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pipelining INSERTs using libpq
Date: 2012-12-23 20:23:57
Message-ID: CAHyXU0xuZq-TXtYKTqb_pfkwUazcS_vaLM1Euvb+QaCXwv8T5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday, December 23, 2012, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Florian Weimer <fweimer(at)redhat(dot)com> writes:
>> Does the wire protocol support pipelining?
>
> Yes, but libpq doesn't really expose the capability, because it's too
> simple-minded to deal with more than one query in flight.
>
> regards, tom lane

You can do it with libpqtypes via array of records...

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2012-12-23 21:04:03 Re: downgrading a database
Previous Message Adrian Klaver 2012-12-23 19:38:08 Re: downgrading a database