| От | Tom Lane |
|---|---|
| Тема | Re: PQgetResultSet Problem |
| Дата | |
| Msg-id | 21938.1061212809@sss.pgh.pa.us обсуждение |
| Ответ на | PQgetResultSet Problem (Deepa K <kdeepa@midascomm.com>) |
| Список | pgsql-general |
Deepa K <kdeepa@midascomm.com> writes:
> I am using postgresql 7.1.3 and a client using libpq.
> I am executing a statement with muliple SQL commands semicolon
> seperated.
> If any one of the query in between fails, pqGetResultset returns
> NULL on the failed query. So i am unable to process the rest of the
> queries.
That's what it's supposed to do.
> Also the queries which were before the failed query, which were
> successful, were also not commited to the database.
Likewise.
If this is not the behavior you want, then submit the commands
separately.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера