Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Matthew HagertyDate: 2001-07-07 20:27:07
Subject: Re: Async PQgetResult() question.
Previous:From: Tom LaneDate: 2001-07-07 19:46:42
Subject: Re: Async PQgetResult() question.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group