From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josef Machytka <josef.machytka@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: error when creating logical replication slot
Date: Mon, 28 Jan 2019 09:15:28 -0500
Message-ID: <4335.1548684928@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGvVEFsf2yX+xkTNvLDZcoUWdR=DoVqJuH=bmXv9NKAMR0UaxA@mail.gmail.com>
References: <CAGvVEFsf2yX+xkTNvLDZcoUWdR=DoVqJuH=bmXv9NKAMR0UaxA@mail.gmail.com>
Josef Machytka <josef.machytka@gmail.com> writes:
> I am implementing logical replication and today during some final tests
> before implementing it to the production I have got this error when logical
> replication slot on master was created.
> NOTICE: 2019-01-28 09:08:22.081007+00: logical replication slot xxxxx does
> not exist - creating...
> ERROR: snapshot reference 0x55a52a898340 is not owned by resource owner
> TopTransaction
> CONTEXT: SQL statement "SELECT pg_create_logical_replication_slot('xxxxx',
> 'pgoutput')"
That's definitely a bug. Are you on the latest minor release of whichever
release series you're using? (And which one is that?) If it is latest,
please see if you can make a self-contained test case that triggers this.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, josef.machytka@gmail.com
Subject: Re: error when creating logical replication slot
In-Reply-To: <4335.1548684928@sss.pgh.pa.us>
References: <CAGvVEFsf2yX+xkTNvLDZcoUWdR=DoVqJuH=bmXv9NKAMR0UaxA@mail.gmail.com> <4335.1548684928@sss.pgh.pa.us>
* 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