Re: Model clause and

From: Thomas Kellerer <shammat(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Model clause and
Date: 2021-10-28 20:47:34
Message-ID: cf43c8f1-11d0-6aee-3f61-e1571757441f@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Lewis schrieb am 28.10.2021 um 22:44:
> On Thu, Oct 28, 2021 at 1:57 PM SQL Padawan <sql_padawan(at)protonmail(dot)com <mailto:sql_padawan(at)protonmail(dot)com>> wrote:
>
> I presume that VIRTUAL GENERATED columns are on the to-do list?
>
>
> https://www.postgresql.org/docs/current/ddl-generated-columns.html
>
> Is this not what you want?

Those are persisted/stored generated columns. They are only evalated
when a row is inserted or updated.

Virtual generated columns are evaluated each time you access, so they
could use volatile functions.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Lewis 2021-10-28 20:56:38 Re: Model clause and
Previous Message Michael Lewis 2021-10-28 20:44:13 Re: Model clause and