From: | Shubham Khanna <khannashubham1197(at)gmail(dot)com> |
---|---|
To: | Peter Smith <smithpb2250(at)gmail(dot)com> |
Cc: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Rajendra Kumar Dangwal <dangwalrajendra888(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "euler(at)eulerto(dot)com" <euler(at)eulerto(dot)com> |
Subject: | Re: Pgoutput not capturing the generated columns |
Date: | 2024-07-16 11:19:42 |
Message-ID: | CAHv8Rj+R0cj=z1bTMAgQKQWx1EKvkMEnV9QsHGvOqTdnLUQi1A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jul 12, 2024 at 12:13 PM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
>
> Hi Shubham.
>
> Thanks for separating the new BMS 'columns' modification.
>
> Here are my review comments for the latest patch v17-0001.
>
> ======
>
> 1. src/backend/replication/pgoutput/pgoutput.c
>
> /*
> * Columns included in the publication, or NULL if all columns are
> * included implicitly. Note that the attnums in this bitmap are not
> + * publication and include_generated_columns option: other reasons should
> + * be checked at user side. Note that the attnums in this bitmap are not
> * shifted by FirstLowInvalidHeapAttributeNumber.
> */
> Bitmapset *columns;
> With this latest 0001 there is now no change to the original
> interpretation of RelationSyncEntry BMS 'columns'. So, I think this
> field comment should remain unchanged; i.e. it should be the same as
> the current HEAD comment.
>
> ======
> src/test/subscription/t/011_generated.pl
>
> nitpick - comment changes for 'tab2' and 'tab3' to make them more consistent.
>
> ======
> 99.
> Please refer to the attached diff patch which implements any nitpicks
> described above.
The attached Patches contain all the suggested changes.
v19-0001 - Addressed the comments.
v19-0002 - Rebased the Patch.
v19-0003 - Rebased the Patch.
v19-0004- Addressed all the comments related to Bitmapset(BMS).
Thanks and Regards,
Shubham Khanna.
Attachment | Content-Type | Size |
---|---|---|
v19-0002-Support-replication-of-generated-column-during-i.patch | application/octet-stream | 27.4 KB |
v19-0004-Improve-include-generated-column-option-handling.patch | application/octet-stream | 15.9 KB |
v19-0001-Enable-support-for-include_generated_columns-opt.patch | application/octet-stream | 89.6 KB |
v19-0003-Fix-behaviour-for-Virtual-Generated-columns.patch | application/octet-stream | 15.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Shubham Khanna | 2024-07-16 11:23:45 | Re: Pgoutput not capturing the generated columns |
Previous Message | Nazir Bilal Yavuz | 2024-07-16 11:11:20 | Re: Use read streams in CREATE DATABASE command when the strategy is wal_log |