Re: Async PQgetResult() question. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Async PQgetResult() question.
Date
Msg-id 1505.994536841@sss.pgh.pa.us
Whole thread Raw
In response to Re: Async PQgetResult() question.  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Async PQgetResult() question.
Next
From: Matthew Hagerty
Date:
Subject: Re: Async PQgetResult() question.