plpgsql rowsupdated Re: Verifying transaction success

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема plpgsql rowsupdated Re: Verifying transaction success
Дата
Msg-id Pine.BSO.4.10.10102022010400.10437-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Verifying transaction success  (Alfonso Peniche <alfonso@iteso.mx>)
Список pgsql-general
Not 'transaction'. If previous operation _failed_, you won't even get to
next instruction. What you are asking whether previous statement updated
any rows. I _think_ in 7.1 you can do that, but I don't remember how.

-alex

On Fri, 2 Feb 2001, Alfonso Peniche wrote:

> Is there a way (in plpgsql) to know if an insert, update or delete
> instruction was successful without having to run a select statement
> after either one?
>
> Something like an error flag, a set of instructions, a process...
>
> Thanks again.
>
>


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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: pg_dump shell or php?
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Installing Postgresql 7 on either RaQ3i or RaQ2