public inbox for [email protected]
help / color / mirror / Atom feedFrom: Mike L <[email protected]>
To: [email protected]
Subject: Re: logical replication issue
Date: Thu, 17 Apr 2025 11:52:02 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
Thanks Tom. These tables with this issue are related to Arcgis. I cannot modify existing tables by adding primary keys if it doesn't already have one.
Will have to exclude these tables from replication it appears.
On April 17, 2025 11:05:25 AM EDT, Tom Lane <[email protected]> wrote:
>Mike L <[email protected]> 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
>
>
Mike L
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: logical replication issue
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox