From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Implement waiting for given lsn at transaction start
Date: Tue, 07 Apr 2020 17:27:04 -0400
Message-ID: <28209.1586294824@sss.pgh.pa.us> (raw)
In-Reply-To: <E1jLvFF-00017n-Cn@gemulon.postgresql.org>
References: <E1jLvFF-00017n-Cn@gemulon.postgresql.org>
Alexander Korotkov <akorotkov@postgresql.org> writes:
> Implement waiting for given lsn at transaction start
> This commit adds following optional clause to BEGIN and START TRANSACTION
> commands.
> WAIT FOR LSN lsn [ TIMEOUT timeout ]
This seems like a really carelessly chosen syntax --- *three* new
keywords, when you probably didn't need any. Are you not aware that
there is distributed overhead in the grammar for every keyword?
Plus, each new keyword carries the risk of breaking existing
applications, since it no longer works as an alias-not-preceded-by-AS.
I have no particular opinion on the value of the feature, but I wish
a different syntax had been chosen.
regards, tom lane
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, akorotkov@postgresql.org
Subject: Re: pgsql: Implement waiting for given lsn at transaction start
In-Reply-To: <28209.1586294824@sss.pgh.pa.us>
References: <E1jLvFF-00017n-Cn@gemulon.postgresql.org> <28209.1586294824@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