Re: Moving to Postgresql database - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Moving to Postgresql database
Date
Msg-id 40a34680-1583-4cff-86cb-2598be16bb80@aklaver.com
Whole thread Raw
In response to Re: Moving to Postgresql database  (Dominique Devienne <ddevienne@gmail.com>)
Responses Re: Moving to Postgresql database
List pgsql-general
On 1/16/24 00:06, Dominique Devienne wrote:
> On Mon, Jan 15, 2024 at 5:17 AM veem v <veema0000@gmail.com 
> <mailto:veema0000@gmail.com>> wrote:
> 
>     Is any key design/architectural changes should the app development
>     team [...], should really aware about
> 
> 
> Hi. One of the biggest pitfall of PostgreSQL, from the app-dev perspective,
> is the fact any failed statement fails the whole transaction, with 
> ROLLBACK as the only recourse.

https://www.postgresql.org/docs/current/sql-savepoint.html

"SAVEPOINT establishes a new savepoint within the current transaction.

A savepoint is a special mark inside a transaction that allows all 
commands that are executed after it was established to be rolled back, 
restoring the transaction state to what it was at the time of the 
savepoint."

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Sasmit Utkarsh
Date:
Subject: Re: Help needed for the resolution of memory leak
Next
From: Bablu Kumar Nayak
Date:
Subject: Postgres Database Service Interruption