Re: Command execution

Поиск
Список
Период
Сортировка
От Aaron Spiteri
Тема Re: Command execution
Дата
Msg-id 7D7A7A2D-AF6C-4082-82E9-FECC551FF84C@gmail.com
обсуждение исходный текст
Ответ на Re: Command execution  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-hackers
Thanks for pointers, that has cleared a few things up for me.

On 03/07/2008, at 11:27 PM, Csaba Nagy wrote:

> On Thu, 2008-07-03 at 23:15 +1000, Aaron Spiteri wrote:
>> Inside foo there was a INSERT and UPDATE, and the INSERT failed but
>> the UPDATE succeeded would the UPDATE be rolled back?
>
> Just to add to the other answers, if the INSERT is before the  
> UPDATE in
> the function, the function execution stops when the INSERT fails,  
> and so
> the UPDATE will never be executed in the first place...
>
> Cheers,
> Csaba.
>
>



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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: Command execution
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: Adding variables for segment_size, wal_segment_size and block sizes