Re: Pgoutput not capturing the generated columns

From: Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>
To: Shubham Khanna <khannashubham1197(at)gmail(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, Rajendra Kumar Dangwal <dangwalrajendra888(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, euler(at)eulerto(dot)com
Subject: Re: Pgoutput not capturing the generated columns
Date: 2024-06-03 11:52:35
Message-ID: CANhcyEUMv=0Tb-1yvy2rBKfHUd28KGUCbdH+s4iADSg+N+h=AA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> The attached Patch contains the suggested changes.
>

Hi,

Currently, COPY command does not work for generated columns and
therefore, COPY of generated column is not supported during tablesync
process. So, in patch v4-0001 we added a check to allow replication of
the generated column only if 'copy_data = false'.

I am attaching patches to resolve the above issues.

v5-0001: not changed
v5-0002: Support COPY of generated column
v5-0003: Support COPY of generated column during tablesync process

Thought?

Thanks and Regards,
Shlok Kyal

Attachment Content-Type Size
v5-0001-Enable-support-for-include_generated_columns-opti.patch application/octet-stream 38.5 KB
v5-0002-Support-COPY-command-for-generated-columns.patch application/octet-stream 4.4 KB
v5-0003-Support-copy-of-generated-columns-during-tablesyn.patch application/octet-stream 11.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2024-06-03 12:49:29 Re: CREATE DATABASE with filesystem cloning
Previous Message Bertrand Drouvot 2024-06-03 11:11:46 Re: relfilenode statistics