Re: Question: Is it possible to get the new xlog position after query execution? - Mailing list pgsql-general

From Christophe Pettus
Subject Re: Question: Is it possible to get the new xlog position after query execution?
Date
Msg-id A053A2FC-CAE0-4AC3-B298-FCEAFB755EE8@thebuild.com
Whole thread Raw
In response to Re: Question: Is it possible to get the new xlog position after query execution?  (Oleg Serov <oleg@slapdash.com>)
List pgsql-general

> On Nov 8, 2021, at 11:47, Oleg Serov <oleg@slapdash.com> wrote:
> I'm sorry, when I mean users, I mean application end-user (e.g. john@doe.com), not the postgres role.

You can also set it as a session-level variable.  :-)

    SET synchronous_commit = 'on';

You could flip it on for the application-level users that require it, only when it is required.


pgsql-general by date:

Previous
From: Oleg Serov
Date:
Subject: Re: Question: Is it possible to get the new xlog position after query execution?
Next
From: Akheel Ahmed
Date:
Subject: Zero Downtime Upgrade