Re: Savepoints in plpgsql - Mailing list pgsql-docs

From Олег Самойлов
Subject Re: Savepoints in plpgsql
Date
Msg-id 1af26a1b-9b82-4f89-a5e1-eb86e5330c3d@ya.ru
Whole thread Raw
In response to Re: Savepoints in plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: David Rowley
Date:
Subject: Re: incorrect PostgreSQL documentation for pg_type
Next
From: PG Doc comments form
Date:
Subject: There is an invalid value for cidr type in the "Table 8.22. cidr Type Input Examples"