Re: Update Examples in Logical Replication Docs

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Shlok Kyal <shlok.kyal.oss@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-22T04:50:04Z
Lists: pgsql-hackers
On Mon, Jul 21, 2025 at 10:57 PM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote:
>
> While going through the example for column lists [1] and row filters
> [2] in logical replication, I found that the output of "\dRp+" is not
> updated as per PostgreSQL 18. In PG 18, a new column "Generated
> columns' was added in "\dRp+" by commit [3], so I think we should
> update the docs to reflect the same. I have attached a patch with the
> changes.
> The changes apply to both the branches REL_18_STABLE and HEAD.
>

Thanks for the report and patch. I'll take care of it.

-- 
With Regards,
Amit Kapila.



Commits

  1. Doc: Fix logical replication examples.

  2. Replicate generated columns when 'publish_generated_columns' is set.