From: Hsu, John <hsuchen@amazon.com>
To: Dave Cramer <davecramer@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: mansour@oxplot.com <mansour@oxplot.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15808: ERROR: subtransaction logged without previous top-level txn record (SQLSTATE XX000)
Date: Fri, 6 Sep 2019 23:36:19 +0000
Message-ID: <FE49EE64-8D40-4F5B-82F3-39135FD93583@amazon.com> (raw)
In-Reply-To: <CADK3HHL97Z3ZsDp0WUPWjjZzFZsyP3Po1LJ4xcjC=JjgtUiZOQ@mail.gmail.com>
References: <15808-b2c1d6d05b7ef045@postgresql.org>
<20190516170434.masck6ehwg2kvbi2@alap3.anarazel.de>
<CADK3HHL97Z3ZsDp0WUPWjjZzFZsyP3Po1LJ4xcjC=JjgtUiZOQ@mail.gmail.com>
On 9/6/19, 1:40 PM, "Dave Cramer" <davecramer@gmail.com> wrote:
> It's possible that I have someone that would be able to run this in a non-RDS environment.
>
> It's unlikely we have a reproducible test case, but it's likely we can modify the code on their boxes for debugging and or get WAL files for inspection.
>
> This is in a version of 9.6.14 so the above fix should be in it.
>
> I'm willing to facilitate if you can provide some direction.
Hey Dave,
I have a repro for this issue here:
https://www.postgresql.org/message-id/flat/AB5978B2-1772-4FEE-A245-74C91704ECB0%40amazon.com
I can still reproduce it on REL_11_STABLE as of the latest commit (7babff18).
postgres=# select version();
version
--------------------------------------------------------------------------------------------------------
PostgreSQL 11.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5), 64-bit
(1 row)
postgres=# \q
[ec2-user.... postgres]$ pg_recvlogical -d postgres --start --slot test_slot_1 -f /dev/null
pg_recvlogical: unexpected termination of replication stream: ERROR: subtransaction logged without previous top-level txn record
pg_recvlogical: disconnected; waiting 5 seconds to try again
Thanks,
John H
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-bugs@postgresql.org
Cc: hsuchen@amazon.com, davecramer@gmail.com, andres@anarazel.de, mansour@oxplot.com
Subject: Re: BUG #15808: ERROR: subtransaction logged without previous top-level txn record (SQLSTATE XX000)
In-Reply-To: <FE49EE64-8D40-4F5B-82F3-39135FD93583@amazon.com>
References: <15808-b2c1d6d05b7ef045@postgresql.org> <20190516170434.masck6ehwg2kvbi2@alap3.anarazel.de> <CADK3HHL97Z3ZsDp0WUPWjjZzFZsyP3Po1LJ4xcjC=JjgtUiZOQ@mail.gmail.com> <FE49EE64-8D40-4F5B-82F3-39135FD93583@amazon.com>
* 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