Re: How is this possible "publication does not exist"

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How is this possible "publication does not exist"
Date: 2021-08-10 19:47:35
Message-ID: CADK3HHLPju_ja-_8Vq47Vr7M9Bzhkd7pU_Bartq8TwGgagqn3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Reviving this thread

2021-08-10 19:05:09.096 UTC [3738] LOG: logical replication apply
worker for subscription "sub_mycluster_alltables" has started
2021-08-10 19:05:09.107 UTC [3739] LOG: logical replication table
synchronization worker for subscription "sub_mycluster_alltables",
table "t_random" has started
2021-08-10 19:05:12.222 UTC [3739] LOG: logical replication table
synchronization worker for subscription "sub_mycluster_alltables",
table "t_random" has finished
2021-08-10 19:05:14.806 UTC [3738] ERROR: could not receive data from
WAL stream: ERROR: publication "sub_mycluster_alltables" does not
exist
CONTEXT: slot "sub_mycluster_alltables", output plugin
"pgoutput", in the change callback, associated LSN 0/4015DF0
2021-08-10 19:05:14.811 UTC [175] LOG: background worker "logical
replication worker" (PID 3738) exited with exit code 1

select * from pg_publication;
-[ RECORD 1 ]+------------------------
oid | 16415
pubname | sub_mycluster_alltables
pubowner | 10
puballtables | t
pubinsert | t
pubupdate | t
pubdelete | t
pubtruncate | t

select * from pg_replication_slots;
-[ RECORD 1 ]-------+--------------------------------
slot_name | mycluster_cjvq_68cf55677c_6vgcf
plugin |
slot_type | physical
datoid |
database |
temporary | f
active | t
active_pid | 433
xmin |
catalog_xmin |
restart_lsn | 0/D000000
confirmed_flush_lsn |
-[ RECORD 2 ]-------+--------------------------------
slot_name | sub_mycluster_alltables
plugin | pgoutput
slot_type | logical
datoid | 16395
database | mycluster
temporary | f
active | t
active_pid | 8799
xmin |
catalog_xmin | 500
restart_lsn | 0/40011C0

confirmed_flush_lsn | 0/40011C0

I'm at a loss as to where to even look at this point.

Dave

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-08-10 20:46:18 Re: ECPG bug fix: DECALRE STATEMENT and DEALLOCATE, DESCRIBE
Previous Message Thomas Munro 2021-08-10 19:07:49 Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?