| От | 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 ??
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера