Re: Adding a stored generated column without long-lived locks - Mailing list pgsql-hackers

From Alberto Piai
Subject Re: Adding a stored generated column without long-lived locks
Date
Msg-id DI19FP3X4VI0.21FO6V1HGJK5P@gmail.com
Whole thread
In response to Re: Adding a stored generated column without long-lived locks  (Alberto Piai <alberto.piai@gmail.com>)
List pgsql-hackers
On Tue Apr 7, 2026 at 5:02 PM +08, Alberto Piai wrote:
> On Tue Mar 17, 2026 at 5:31 PM +07, Alberto Piai wrote:
>
>> I recently needed to add a stored generated column to a table of
>> nontrivial size, and realized that currently there is no way to do
>> that without rewriting the table under an AccessExclusiveLock.

Attached v3, just a rebase onto current master.

Regards,

Alberto

-- 
Alberto Piai
Sensational AG
Zürich, Switzerland

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: pgbench: make verbose error messages thread-safe
Next
From: vignesh C
Date:
Subject: Re: StringInfo fixes, v19 edition. Plus a few oddities