Re: Question about behavior of deletes with REPLICA IDENTITY NOTHING

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Robert Treat <rob(at)xzilla(dot)net>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, James Coleman <jtc331(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Question about behavior of deletes with REPLICA IDENTITY NOTHING
Date: 2025-01-15 11:27:40
Message-ID: CAA4eK1+pV-xGZtHjS-3E3_-kXYr17xkuUaJWEn7CuXsK3L6xhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 14, 2025 at 7:11 PM Robert Treat <rob(at)xzilla(dot)net> wrote:
> On Tue, Jan 14, 2025 at 1:24 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
> > On Tue, Jan 14, 2025 at 4:46 PM Robert Treat <rob(at)xzilla(dot)net> wrote:
> >
> > ------
> > Tables with a replica identity defined as <literal>NOTHING</literal>,
> > <literal>DEFAULT</literal> without a primary key, or <literal>USING
> > INDEX</literal> with a dropped index cannot support
> > <command>UPDATE</command> or <command>DELETE</command> operations when
> > included in a publication replicating these actions. Attempting such
> > operations will result in an error on the publisher.
> > ------

LGTM. I'll push this tomorrow unless there are more comments. I am
planning to push this to HEAD as this is an improvement in existing
docs and not any bug fix.

--
With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakob Egger 2025-01-15 11:28:22 Re: Use Python "Limited API" in PL/Python
Previous Message Ranier Vilela 2025-01-15 11:17:54 Re: Purpose of wal_init_zero