Re: Pgoutput not capturing the generated columns
Peter Smith <smithpb2250@gmail.com>
Attachments
- v51-0002-Add-missing-pubgencols-attribute-docs-for-pg_pub.patch (application/octet-stream) patch v51-0002
- v51-0001-DOCS-Generated-Column-Replication.patch (application/octet-stream) patch v51-0001
Hi, Some patches of this thread have fallen though the cracks for more than 2 months now, so I am re-posting them so that do not get overlooked any longer. For v49 [1] there were 2 patches: v49-0001-Enable-support-for-publish_generated_columns-par v49-0002-DOCS-Generated-Column-Replication Then, at v50 [2] there were 2 patches: v50-0001-Replicate-generated-columns-when-publish_generat v50-0002-Tap-tests-for-generated-columns Notice the DOCS patch is missing in v50. Those v50* patches were then pushed to master. But, that was 2 months ago. ~~ So, the v49-0002-DOCS patch (which added a new section to Chapter 29) remains still unpushed. Meanwhile, it was reported [3] that pubgencols attribute of the pg_publication catalog is missing from the docs. ~~ In this post, I have attached v51* patches where: v51-0001 - This is a rebase of the missing DOCS patch from v49. v51-0002 - This is the pg_publication catalog missing pubgencols attribute patch. ~~~ Future -- there probably need to be further clarifications/emphasis to describe how the generated column replication feature only works for STORED generated columns (not VIRTUAL ones), but IMO it is better to address that separately *after* dealing with these missing documentation patches. ====== [1] v49 - https://www.postgresql.org/message-id/CALDaNm3XV5mAeZzZMkOPSPieANMaxOH8xAydLqf8X5PQn%2Ba5EA%40mail.gmail.com [2] v50 - https://www.postgresql.org/message-id/CALDaNm1hR9-xFZXiK0it_ohn%2BPvfKTLvoOFhBi7p9oTSRCPJRg%40mail.gmail.com [3] pg_publication - https://www.postgresql.org/message-id/DM4PR84MB1734D79B25D5B427F5B6101AEE5C2%40DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM Kind Regards, Peter Smith. Fujitsu Australia
Commits
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Doc: Generated column replication.
- 6252b1eaf82b 18.0 landed
-
Rename pubgencols_type to pubgencols in pg_publication.
- 75eb9766ec20 18.0 landed
-
Doc: Fix column name in pg_publication catalog.
- 117f9f328e0f 18.0 landed
-
Fix buildfarm failure introduced by commit e65dbc9927.
- b35434b134b1 18.0 landed
-
Change publication's publish_generated_columns option type to enum.
- e65dbc9927fb 18.0 landed
-
Fix \dRp+ output when describing publications with a lower server version.
- 991974bb4888 18.0 landed
-
Replicate generated columns when 'publish_generated_columns' is set.
- 7054186c4ebe 18.0 landed
-
Doc: Update the behavior of generated columns in Logical Replication.
- 5b0c46ea0932 18.0 landed
-
Replicate generated columns when specified in the column list.
- 745217a051a9 18.0 landed
-
Doc: Generated columns are skipped for logical replication.
- 7a089f6e6a14 17.0 cited