From: 396934406@qq.com <396934406@qq.com>
To: houzj.fnst@fujitsu.com <houzj.fnst@fujitsu.com>
Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Subject: Re: RE: pg15 beta2 bug:cause by logcial replation
Date: Fri, 1 Jul 2022 16:10:29 +0800
Message-ID: <tencent_A14B4C2AA30B002CBADCABF43453D60CCB09@qq.com> (raw)
References: <tencent_30262B030A662CC2DC8FF5D252C00D514B09@qq.com>
<OS0PR01MB571689015E31F1AF1784350094BD9@OS0PR01MB5716.jpnprd01.prod.outlook.com>
yes,the problem was i use port 1501 when i create subscription. so the problem is use the PG15 beta1 as publisher, and use PG15 beta2 as the subscriber.
396934406@qq.com
From: houzj.fnst@fujitsu.com
Date: 2022-07-01 12:09
To: 396934406@qq.com
CC: pgsql-bugs
Subject: RE: pg15 beta2 bug:cause by logcial replation
On Friday, July 1, 2022 11:35 AM 396934406@qq.com <396934406@qq.com> wrote:
> hello,:
>
> i am jerome Peng, from pg15 beta2 changes since beta 1 , i test this item and found a error:
>
> ? pg_publication_tables now provides information on column lists and row filters.
>
> \c logical_src
> create table tab1(id int primary key,info varchar);
> create table tab2(id int primary key,info1 varchar,info2 varchar);
> select pg_create_logical_replication_slot('logical_slot1','pgoutput');
> create publication pub_two for table tab1, tab2;
>
> \c logical_dest
> create table tab1(id int primary key,info varchar);
> create table tab2(id int primary key,info1 varchar,info2 varchar);
> create subscription sub_two
> connection 'hostaddr=127.0.0.1 port=1501 user=postgres dbname=logical_src'
> publication pub_two with(create_slot='false',slot_name='logical_slot1');
>
> ERROR: could not receive list of replicated tables from the publisher: ERROR: column t.attnames does not exist
> LINE 2: , t.attnames
Hi,
I tried your reproduction steps but cannot get the same error.
Can you please provide some more information about the version
of publisher and subscriber you used ?
Just to confirm, did you use the PG15 beta1 or earlier PG15 version
as the publisher and use PG15 beta2 as the subscriber ?
Best regards,
Hou zj
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: 396934406@qq.com, houzj.fnst@fujitsu.com
Subject: Re: pg15 beta2 bug:cause by logcial replation
In-Reply-To: <tencent_A14B4C2AA30B002CBADCABF43453D60CCB09@qq.com>
References: <tencent_30262B030A662CC2DC8FF5D252C00D514B09@qq.com> <OS0PR01MB571689015E31F1AF1784350094BD9@OS0PR01MB5716.jpnprd01.prod.outlook.com> <tencent_A14B4C2AA30B002CBADCABF43453D60CCB09@qq.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