Update Examples in Logical Replication Docs
Shlok Kyal <shlok.kyal.oss@gmail.com>
From: Shlok Kyal <shlok.kyal.oss@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-21T17:27:06Z
Lists: pgsql-hackers
Attachments
- v1-0001-Update-examples-in-logical-replication-docs.patch (application/octet-stream) patch v1-0001
Hi, 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. [1]: https://www.postgresql.org/docs/current/logical-replication-col-lists.html [2]: https://www.postgresql.org/docs/current/logical-replication-row-filter.html [3]:https://github.com/postgres/postgres/commit/7054186c4ebe24e63254651e2ae9b36efae90d4e Thanks, Shlok Kyal
Commits
-
Doc: Fix logical replication examples.
- ce6513e96a17 19 (unreleased) landed
- 0e8c6565513d 18.0 landed
-
Replicate generated columns when 'publish_generated_columns' is set.
- 7054186c4ebe 18.0 cited