Re: Executing multiple statements in a single query? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Executing multiple statements in a single query?
Date
Msg-id 27742.1032930407@sss.pgh.pa.us
Whole thread Raw
In response to Executing multiple statements in a single query?  (HK <harikrishnan@midascomm.com>)
Responses Where does pgsql store the tables ??
List pgsql-novice
HK <harikrishnan@midascomm.com> writes:
>     I am using postgresql from a c application with asyncronous Query
> processing. Since only 1 query can be executed at a time, i am using  a
> buffering mechanism to store the other queries generated at that time. Is
> there any way i can execute all the statements in the buffer with a single
> query.

You can ship 'em all in a single PQsendQuery string, and wait for the
successive results to come back.  Not sure if that's what you had in
mind...

            regards, tom lane

pgsql-novice by date:

Previous
From: HK
Date:
Subject: Executing multiple statements in a single query?
Next
From: sol
Date:
Subject: install problem