Re: logical replication issue - Mailing list pgsql-admin

From Tom Lane
Subject Re: logical replication issue
Date
Msg-id 2200808.1744902325@sss.pgh.pa.us
Whole thread Raw
In response to logical replication issue  (Mike L <giantmetfan@comcast.net>)
Responses Re: logical replication issue
List pgsql-admin
Mike L <giantmetfan@comcast.net> writes:
> Should logical replication fail due to a column of type 'xml' in a table 
> in a publication?

Well, as you note, there's no equality operator for type xml.

Looking at the replication code, it looks like you might be able
to dodge the error if the replicated-to table has a primary key
(which'd necessarily not involve the xml column).  Without a PK,
it will do full-row equality checks to determine tuple matches,
and that's where it falls down trying to compare the xml column.

            regards, tom lane



pgsql-admin by date:

Previous
From: Mike L
Date:
Subject: logical replication issue
Next
From: Mike L
Date:
Subject: Re: logical replication issue