Re: error when creating logical replication slot

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josef Machytka <josef(dot)machytka(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: error when creating logical replication slot
Date: 2019-01-28 14:15:28
Message-ID: 4335.1548684928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Josef Machytka <josef(dot)machytka(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-01-28 14:17:47 Re: multi-SQL command string aborts despite IF EXISTS
Previous Message Durgamahesh Manne 2019-01-28 14:10:26 Re: Regarding query execution for long time