Re: Async PQgetResult() question.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew Hagerty <mhagerty(at)voyager(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Async PQgetResult() question.
Date: 2001-07-07 20:14:01
Message-ID: 1505.994536841@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I said:
> Also, unless you are sending more than one
> query in a query string, the backend is going to be absorbing the
> data as fast as it can anyway; so even if you do block it's only
> going to be for a network transit delay, not for database processing.

Actually, forget the "unless" part -- the backend won't start parsing
the querystring until it's got it all. It just reads the query into
memory as fast as it can, semicolons or no.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew Hagerty 2001-07-07 20:27:07 Re: Async PQgetResult() question.
Previous Message Tom Lane 2001-07-07 19:46:42 Re: Async PQgetResult() question.