Thread: HELP: SAVEPOINT feature cases

HELP: SAVEPOINT feature cases

From
itumonohito
Date:

Dear hackers,   

I hope this email finds you well.

I am writing to inquire about the use cases for the SAVEPOINT feature. 

I would appreciate it if you could provide some examples of scenarios where this functionality proves particularly useful.

Thank you for your time and assistance. I look forward to your response.

Sincerely,

jack.

Re: HELP: SAVEPOINT feature cases

From
Kirill Reshke
Date:
On Mon, 14 Apr 2025 at 21:54, itumonohito <itumonohito@gmail.com> wrote:
>
> Dear hackers,
>
> I hope this email finds you well.
>
> I am writing to inquire about the use cases for the SAVEPOINT feature.
>
> I would appreciate it if you could provide some examples of scenarios where this functionality proves particularly
useful.
>
> Thank you for your time and assistance. I look forward to your response.
>
> Sincerely,
>
> jack.

Have you read https://www.postgresql.org/docs/current/sql-savepoint.html
? There are a few examples here.

-- 
Best regards,
Kirill Reshke



Re: HELP: SAVEPOINT feature cases

From
Greg Sabino Mullane
Date:

I am writing to inquire about the use cases for the SAVEPOINT feature. 

Savepoints are used to implement ON_ERROR_ROLLBACK in psql. See:


Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support