Re: Virtual generated columns - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Virtual generated columns
Date
Msg-id 8be3512a-a23f-4088-a9ec-bf68650a2997@eisentraut.org
Whole thread Raw
In response to Re: Virtual generated columns  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
On 06.02.25 00:25, Dean Rasheed wrote:
> On Tue, 4 Feb 2025 at 22:36, Peter Eisentraut <peter@eisentraut.org> wrote:
>>
>> Yeah, this is quite contorted.  I have renamed it like you suggested.
> 
> I looked over this again and I think the patch is in good shape to be committed.

I've committed it.  Thanks.

> One thought that occurred to me was whether it would be better for the
> psql describe output (and maybe also pg_dump) to explicitly output
> "virtual" for columns of this kind. I know that that's the default for
> generated columns, but someone reading the output might not know or
> remember that, so perhaps it would be helpful to be explicit.

My preference was to have the default output format use only 
SQL-standard syntax, not extensions like "VIRTUAL".  If people hate 
this, we can easily change it.




pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Get rid of WALBufMappingLock
Next
From: Peter Eisentraut
Date:
Subject: Re: Virtual generated columns