Re: Should we document how column DEFAULT expressions work?

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Should we document how column DEFAULT expressions work?
Дата
Msg-id CAApHDvo4z0pU81cfVZTTqWk28oT3rgswtV2nKzSHwDQ=P5aZ=w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Should we document how column DEFAULT expressions work?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Should we document how column DEFAULT expressions work?
Список pgsql-hackers
On Wed, 26 Jun 2024 at 17:12, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Do we want to do anything about
> nextval()?  I guess if you hold your head at the correct
> angle, that's also a magic-input-value issue, in the sense
> that the question is when does regclass input get resolved.

I think I'm not understanding what's special about that.  Aren't
'now'::timestamp and 'seq_name'::regclass are just casts that are
evaluated during parse time in transformExpr()?

David



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Should we document how column DEFAULT expressions work?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should we document how column DEFAULT expressions work?