Re: Pgoutput not capturing the generated columns
Peter Smith <smithpb2250@gmail.com>
Attachments
- v29-0001-Enable-support-for-include_generated_columns-opt.patch (application/octet-stream) patch v29-0001
- v29-0002-Tap-tests-for-generated-columns.patch (application/octet-stream) patch v29-0002
Hi Shubham, I have reviewed v28* and posted updated v29 versions of patches 0001 and 0002. If you are OK with these changes, the next task would be to pg_indent them, then rebase the remaining patches (0003 etc.) and include those with the next patchset version. ////////// Patch v29-0001 changes: nit - Fixed typo in comments. nit - Removed an unnecessary format change for the unchanged send_relation_and_attrs declaration. ////////// Patch v29-0002 changes: 1. Made fixes to address Vignesh's review comments [1]. 2. Added the missing test cases for tab_gen_to_gen, and tab_alter. 3. Multiple other modifications include: nit - Renamed the test database /test/test_igc_true/ because 'test' was too vague. nit - This patch does not need to change most of the existing 'tab1' test. So we should not be reformating the existing test code for no reason. nit - I added a summary comment to describe the test combinations nit - The "Testcase end" comments were unnecessary and prone to error, so I removed them. nit - Change comments /incremental sync/incremental replication/ nit - Added XXX notes about copy_data=false. These are reminders for to change code in later TAP patches nit - Rearranged test steps so the publisher does not do incremental INSERT until all initial sync tests are done nit - Added initial sync tests even if copy_data=false. This is for completeness - these will be handled in a later TAP patch nit - The table names are self-explanatory, so some of the test "messages" were simplified ====== [1] https://www.postgresql.org/message-id/CALDaNm31LZQfeR8Vv1qNCOREGffvZbgGDrTp%3D3h%3DEHiHTEO2pQ%40mail.gmail.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