Re: logical decoding and replication of sequences, take 2
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2023-01-27T14:41:45Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Migrate logical slots to the new node during an upgrade.
- 29d0a77fa660 17.0 cited
-
Make test_decoding ddl.out shorter
- d6677b93c79b 17.0 landed
- c5c5832600e9 14.9 landed
- b1dc946eee3d 16.0 landed
- 3bb8b9342f8a 15.4 landed
-
Fix snapshot handling in logicalmsg_decode
- 949ac32e1267 15.3 landed
- 8b9cbd42b61f 14.8 landed
- 4df581fa0f4b 13.11 landed
- 497f863f0598 12.15 landed
- 8de91ebf2ac1 11.20 landed
- 7fe1aa991b62 16.0 landed
-
doc: Adjust a few more references to "postmaster"
- 17e72ec45d31 16.0 cited
-
Revert "Logical decoding of sequences"
- 2c7ea57e56ca 15.0 cited
On Mon, 16 Jan 2023 at 04:49, Tomas Vondra <tomas.vondra@enterprisedb.com> wrote: > > cfbot didn't like the rebased / split patch, and after looking at it I > believe it's a bug in parallel apply of large transactions (216a784829), > which seems to have changed interpretation of in_remote_transaction and > in_streamed_transaction. I've reported the issue on that thread [1], but > here's a version with a temporary workaround so that we can continue > reviewing it. > The patch does not apply on top of HEAD as in [1], please post a rebased patch: === Applying patches on top of PostgreSQL commit ID 17e72ec45d313b98bd90b95bc71b4cc77c2c89c3 === === applying patch ./0001-Fix-snapshot-handling-in-logicalmsg_decode-20230116.patch patching file src/backend/replication/logical/decode.c patching file src/backend/replication/logical/reorderbuffer.c === applying patch ./0002-Logical-decoding-of-sequences-20230116.patch patching file doc/src/sgml/logicaldecoding.sgml Hunk #3 FAILED at 483. Hunk #4 FAILED at 494. Hunk #7 succeeded at 1252 (offset 4 lines). 2 out of 7 hunks FAILED -- saving rejects to file doc/src/sgml/logicaldecoding.sgml.rej [1] - http://cfbot.cputube.org/patch_41_3823.log Regards, Vignesh