Re: INSERT or UPDATE

Поиск
Список
Период
Сортировка
От James B. Byrne
Тема Re: INSERT or UPDATE
Дата
Msg-id 60357.65.92.52.21.1239064967.squirrel@webmail.harte-lyne.ca
обсуждение исходный текст
Ответ на Re: INSERT or UPDATE  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: INSERT or UPDATE  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-general
On Mon, April 6, 2009 20:23, Dann Corbit wrote:

>
> If a transaction involves rows where some succeed and some fail,
> all will roll back. If that is the desired behavior, or if all
> operations are singleton, then you won't see any problems.
>

Do I understand correctly that this means that even if the function
"handles" a failed insert then if the function occurs inside a
transaction then that transaction fails and is rolled back
regardless?


--
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3


В списке pgsql-general по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: media server (mp3 player) on postgresql
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: INSERT or UPDATE