Re: Savepoints in plpgsql

Поиск
Список
Период
Сортировка
От Олег Самойлов
Тема Re: Savepoints in plpgsql
Дата
Msg-id 1af26a1b-9b82-4f89-a5e1-eb86e5330c3d@ya.ru
обсуждение исходный текст
Ответ на Re: Savepoints in plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs

On 12.07.2024 16:42, Tom Lane wrote:

> 
>      PL/pgSQL does not support savepoints (SAVEPOINT/ROLLBACK TO
>      SAVEPOINT/RELEASE SAVEPOINT commands).  Typical usage patterns
>      for savepoints can be replaced by blocks with exception handlers
>      (see 43.6.8).  Under the hood, a block with exception handlers
>      forms a subtransaction, which means that transactions cannot
>      be ended inside such a block.
> 
>             regards, tom lane

Yes, this will be fine.
-- 
Олег




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