Re: Model clause and - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Model clause and
Date
Msg-id cf43c8f1-11d0-6aee-3f61-e1571757441f@gmx.net
Whole thread Raw
In response to Re: Model clause and  (Michael Lewis <mlewis@entrata.com>)
Responses Re: Model clause and
List 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@protonmail.com <mailto:sql_padawan@protonmail.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.




pgsql-general by date:

Previous
From: Michael Lewis
Date:
Subject: Re: Model clause and
Next
From: Michael Lewis
Date:
Subject: Re: Model clause and