From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <akapila@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add ALTER SUBSCRIPTION ... SKIP.
Date: Mon, 21 Mar 2022 22:06:46 -0400
Message-ID: <2446637.1647914806@sss.pgh.pa.us> (raw)
In-Reply-To: <E1nWTkh-000ncF-2O@gemulon.postgresql.org>
References: <E1nWTkh-000ncF-2O@gemulon.postgresql.org>
Amit Kapila <akapila@postgresql.org> writes:
> The user can specify LSN by ALTER SUBSCRIPTION ... SKIP (lsn = XXX),
> which allows the apply worker to skip the transaction finished at
> specified LSN. The apply worker skips all data modification changes within
> the transaction.
Hmm ... this seems like a really poor choice of syntax.
I would expect ALTER to be used for changes of persistent
object properties, which surely this is not?
An alternative perhaps could be to invoke the operation
via a function.
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, akapila@postgresql.org
Subject: Re: pgsql: Add ALTER SUBSCRIPTION ... SKIP.
In-Reply-To: <2446637.1647914806@sss.pgh.pa.us>
References: <E1nWTkh-000ncF-2O@gemulon.postgresql.org> <2446637.1647914806@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