Re: best practice for use of functions..

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Bug and/or feature? Complex data types in tables...
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: about postgres odbc on wondows