Re: Executing multiple statements in a single query?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Executing multiple statements in a single query?
Дата
Msg-id 27742.1032930407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Executing multiple statements in a single query?  (HK <harikrishnan@midascomm.com>)
Ответы Where does pgsql store the tables ??  (HK <harikrishnan@midascomm.com>)
Список 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 по дате отправления:

Предыдущее
От: HK
Дата:
Сообщение: Executing multiple statements in a single query?
Следующее
От: sol
Дата:
Сообщение: install problem