public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: v18 virtual columns
Date: Thu, 20 Feb 2025 09:30:53 -0500
Message-ID: <CANzqJaC0LCgK1RRKJ=qNTGxgkfFV-_F6keKmCxGBS6EWZ2jjKA@mail.gmail.com> (raw)
In-Reply-To: <CAFCRh-8grTkEy+73q79iXB+q+sD=Qkbz-vNAN1KJCF6PRLa=zg@mail.gmail.com>
References: <CAFCRh-8grTkEy+73q79iXB+q+sD=Qkbz-vNAN1KJCF6PRLa=zg@mail.gmail.com>
On Thu, Feb 20, 2025 at 8:07 AM Dominique Devienne <[email protected]>
wrote:
> Hi. I've just read
> https://www.dbi-services.com/blog/postgresql-18-virtual-generated-columns/
>
> and I'm wondering whether there will be a way to ALTER existing STORED
> generated columns, to be virtual? W/o rewriting the whole table that is.
>
What about dropping the existing stored column then adding the new virtual
column?
You won't get any disk space saving for existing records, but it's not
going to rewrite the table.
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: v18 virtual columns
In-Reply-To: <CANzqJaC0LCgK1RRKJ=qNTGxgkfFV-_F6keKmCxGBS6EWZ2jjKA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox