From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: SIGQUIT and lost sequence WAL records
Date: Wed, 17 Feb 2016 19:17:12 -0500
Message-ID: <29856.1455754632@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqR7Ls6Gk--owFAFpSr7j3nM_D2pzjO+T-0E3VM4ZTjzvA@mail.gmail.com>
References: <CAB7nPqQ6+0LNkitj507eDBMh-OBdm_1_X-LmLOQfsjiWXe9SvA@mail.gmail.com>
<15747.1455720870@sss.pgh.pa.us>
<CAB7nPqR7Ls6Gk--owFAFpSr7j3nM_D2pzjO+T-0E3VM4ZTjzvA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Michael Paquier <michael.paquier@gmail.com> writes:
> Do you think we should add a mention regarding SIGQUIT/stop-immediate
> regarding the fact that the application needs to commit the
> transaction that used nextval() with synchronous_commit = on to keep
> it consistent at recovery?
Meh. In the normal case where you just do "SELECT nextval()" and use the
result externally, there's going to be an implicit commit before you get
the data back. So I think you really have to be taking deliberate aim at
your foot in order to get burnt like this.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com
Subject: Re: SIGQUIT and lost sequence WAL records
In-Reply-To: <29856.1455754632@sss.pgh.pa.us>
References: <CAB7nPqQ6+0LNkitj507eDBMh-OBdm_1_X-LmLOQfsjiWXe9SvA@mail.gmail.com> <15747.1455720870@sss.pgh.pa.us> <CAB7nPqR7Ls6Gk--owFAFpSr7j3nM_D2pzjO+T-0E3VM4ZTjzvA@mail.gmail.com> <29856.1455754632@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox