Re: [HACKERS] generated columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] generated columns
Дата
Msg-id 10550.1506969038@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] generated columns  (Nico Williams <nico@cryptonector.com>)
Ответы Re: [HACKERS] generated columns  (David Fetter <david@fetter.org>)
Re: [HACKERS] generated columns  (Nico Williams <nico@cryptonector.com>)
Список pgsql-hackers
Nico Williams <nico@cryptonector.com> writes:
> On Mon, Oct 02, 2017 at 12:50:14PM -0400, Adam Brusselback wrote:
>> So for me, i'd rather default to compute on read, as long storing the
>> pre-computed value is an option when necessary.

> Sure, I agree.  I was just wondering whether there might be any other
> difference besides performance characteristics.  The answer to that is,
> I think, "no".

What about non-immutable functions in the generation expression?
        regards, tom lane


-- 
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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Horrible CREATE DATABASE Performance in High Sierra
Следующее
От: David Fetter
Дата:
Сообщение: Re: [HACKERS] generated columns