Re: logical replication: restart_lsn can go backwards (and more), seems broken since 9.4

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas@vondra.me>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-11-16T15:44:09Z
Lists: pgsql-hackers
Tomas Vondra <tomas@vondra.me> writes:
> Thanks. I see you only backpatched to 13, but I believe 12 will be
> rewrapped too. So maybe backpatch to 12 too?

Please don't.  The release team already discussed this and determined
that we want to push 12.22 with only the ROLE-regression fix.  v12
is not "back in support" for any other purpose.

			regards, tom lane



Commits

  1. Fix a possibility of logical replication slot's restart_lsn going backwards.

  2. Introduce logical decoding.