| От | Richard Huxton |
|---|---|
| Тема | Re: best practice for use of functions.. |
| Дата | |
| Msg-id | 200401150925.35255.dev@archonet.com обсуждение исходный текст |
| Ответ на | Re: best practice for use of functions.. (Allen Landsidel <all@biosys.net>) |
| Список | pgsql-general |
On Thursday 15 January 2004 03:50, Allen Landsidel wrote: > Aren't there some caveats to this related to transactions? I've been > working under the strong (I think I read.. heh) impression that > transactions cannot be nested, in 7.3 at least.. > > This would lead me to believe if the 'main' function called another that > failed and thus issued a rollback, would that not rollback the entire > meta-transaction, for lack of a better word? "multi-statement transaction" might be the better word. Now need a better word for "a bunch of words strung together" ;-) You're correct, but in this case Chris was doing a batch of inserts in the same transaction anyway, so that's what he wants. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера