Re: ERROR: subtransaction logged without previous top-level txn record
Dan Katz <dkatz@joor.com>
From: Dan Katz <dkatz@joor.com>
To: Arseny Sher <a.sher@postgrespro.ru>
Cc: Andres Freund <andres@anarazel.de>,
Alvaro Herrera <alvherre@2ndquadrant.com>, "Hsu, John" <hsuchen@amazon.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2020-01-30T20:09:57Z
Lists: pgsql-bugs, pgsql-hackers
Arseny, I was hoping you could give me some insights about how this bug might appear with multiple replications slots. For example if I have two replication slots would you expect both slots to see the same error, even if they were started, consumed or the LSN was confirmed-flushed at different times? Dan On Tue, Dec 17, 2019 at 10:15 AM Arseny Sher <a.sher@postgrespro.ru> wrote: > > Dan Katz <dkatz@joor.com> writes: > > > Is the resolution of the issue in this thread being tracked elsewhere, > > either in a commit fest or other stream of work? > > Ok, I've created a cf entry: > https://commitfest.postgresql.org/26/2383/ > > I believe it is the most important to commit at least > > 0002-Stop-demanding-that-top-xact-must-be-seen-before-sub.patch > > from my mail above -- as we see, this issue creates problems in the > field. Moreover, the patch is trivial and hopefully I've shown that > ERROR triggers were spurious and there is no easy way to relax the > check. > > -- > Arseny Sher > Postgres Professional: http://www.postgrespro.com > The Russian Postgres Company >
Commits
-
Stop demanding that top xact must be seen before subxact in decoding.
- 05555f7aaa08 9.5.22 landed
- 59c1a03f0736 9.6.18 landed
- b448aa44170b 10.13 landed
- bff456d7a0b3 11.8 landed
- 59112f235549 12.3 landed
- e3ff789acfb2 13.0 landed
-
logical decoding: process ASSIGNMENT during snapshot build
- bac2fae05c77 13.0 cited
- 96b5033e1171 12.0 cited
-
Fix operator naming in pg_trgm GUC option descriptions
- 959792087a10 9.6.14 cited