Re: ERROR: subtransaction logged without previous top-level txn record

From: Dan Katz <dkatz(at)joor(dot)com>
To: Arseny Sher <a(dot)sher(at)postgrespro(dot)ru>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "Hsu, John" <hsuchen(at)amazon(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: subtransaction logged without previous top-level txn record
Date: 2020-01-30 20:09:57
Message-ID: CAJiDyLG0K0zr5v5Cpbu4xXP7zEDww2aX8vMejxHEJwFfeNP4qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(dot)sher(at)postgrespro(dot)ru> wrote:

>
> Dan Katz <dkatz(at)joor(dot)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
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Arseny Sher 2020-01-30 21:22:46 Re: ERROR: subtransaction logged without previous top-level txn record
Previous Message Peter Eisentraut 2020-01-30 17:55:38 Re: Moderate Error in German help of pg_ctl

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-01-30 20:17:32 Re: Hash join not finding which collation to use for string hashing
Previous Message Tom Lane 2020-01-30 20:02:41 Re: Hash join not finding which collation to use for string hashing