Re: [patch] ALTER COLUMN SET EXPRESSION [GENERATED|STORED]

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] ALTER COLUMN SET EXPRESSION [GENERATED|STORED]
Date: 2025-11-12 07:44:30
Message-ID: CACJufxFpr4w6O+uQCWdkkAffuX_wxoCwKOidTzovDrn20et=pw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 28, 2025 at 12:00 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> hi.
> I realized that we can also modify attgenerated when updating the generated
> expression using ALTER COLUMN SET EXPRESSION.
> so POC attached.
>

hi.

rebased with minor updates to comments and test cases.

--
jian
https://www.enterprisedb.com/

Attachment Content-Type Size
v2-0001-ALTER-COLUMN-SET-EXPRESSION-GENERATED-STORED.patch text/x-patch 55.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo Nagata 2025-11-12 07:47:03 Re: Suggestion to add --continue-client-on-abort option to pgbench
Previous Message Peter Eisentraut 2025-11-12 07:42:07 Re: SQL:2011 Application Time Update & Delete