Re: [HACKERS] generated columns

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [HACKERS] generated columns
Дата
Msg-id CANP8+jJhMg4uZmhVDtRY5wUOxv--6HdNMj=PicAEvbbGK55xNA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] generated columns  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
On 13 September 2017 at 09:09, Andreas Karlsson <andreas@proxel.se> wrote:
> On 09/13/2017 04:04 AM, Simon Riggs wrote:
>>
>> On 31 August 2017 at 05:16, Peter Eisentraut
>> <peter.eisentraut@2ndquadrant.com> wrote:
>>>
>>> - index support (and related constraint support)
>>
>>
>> Presumably you can't index a VIRTUAL column. Or at least I don't think
>> its worth spending time trying to make it work.
>
>
> I think end users would be surprised if one can index STORED columns and
> expressions but not VIRTUAL columns. So unless it is a huge project I would
> say it is worth it.

It must be stored in the index certainly. I guess virtual is similar
to expression indexes then.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [HACKERS] WIP patch: distinguish selectivity of < from <= and >from >=
Следующее
От: Kuntal Ghosh
Дата:
Сообщение: Re: [HACKERS] WIP patch: distinguish selectivity of < from <= and >from >=