Re: DOCS: Generated table columns are skipped by logical replication - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: DOCS: Generated table columns are skipped by logical replication
Date
Msg-id CAA4eK1+gLiEc2s1vU2dFBL0T11Dv0arGSL0jeb=vtTrrN=sxHw@mail.gmail.com
Whole thread Raw
In response to DOCS: Generated table columns are skipped by logical replication  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: DOCS: Generated table columns are skipped by logical replication
List pgsql-hackers
On Tue, Jun 18, 2024 at 12:11 PM Peter Smith <smithpb2250@gmail.com> wrote:
>
> While reviewing another thread that proposes to include "generated
> columns" support for logical replication [1] I was looking for any
> existing PostgreSQL documentation on this topic.
>
> But, I found almost nothing about it at all -- I only saw one aside
> mention saying that logical replication low-level message information
> is not sent for generated columns [2].
>
> ~~
>
> IMO there should be some high-level place in the docs where the
> behaviour for logical replication w.r.t. generated columns is
> described.
>

+1.

> There are lots of candidate places which could talk about this topic.
> * e.g.1 in "Generated Columns" (section 5.4)
> * e.g.2 in LR "Column-Lists" docs (section 29.5)
> * e.g.3 in LR "Restrictions" docs (section 29.7)
> * e.g.4 in the "CREATE PUBLICATION" reference page
>
> For now, I have provided just a simple patch for the "Generated
> Columns" section [3]. Perhaps it is enough.
>

Can we try to clarify if their corresponding values are replicated?


--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Logical Replication of sequences
Next
From: Ranier Vilela
Date:
Subject: Re: replace strtok()