| От | Chris Ochs |
|---|---|
| Тема | Re: sql insert function |
| Дата | |
| Msg-id | 027a01c3d971$d9be3900$250a8b0a@chris обсуждение исходный текст |
| Ответ на | sql insert function ("Chris Ochs" <chris@paymentonline.com>) |
| Ответы |
Re: sql insert function
|
| Список | pgsql-general |
I am seeing another strange thing when using a function that does an insert instead of doing the insert directly. This is using cached connections with apache/mod_perl. My program starts a transaction, does about 20 inserts, then commits. When I replace once of the inserts with a function that does the insert, when I do the commit I get this message: WARNING: there is no transaction in progress The inserts all commit fine. Do functions used through DBD::Pg do something like turn on autocommit after a function is called?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера