Re: [HACKERS] create table and default 'now' problem ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] create table and default 'now' problem ?
Дата
Msg-id 21636.937923916@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] create table and default 'now' problem ?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> Thank you Tom for explanation. It's not very bothered me as far as I have
> many workarounds suggested in mailing list. But I wondering because
> 'now'::text works as expected when I create view

Yes, it's just the context of a DEFAULT expression that has these
problems.  (Actually, it looks like constraints --- CHECK() expressions
--- are handled in the same bogus way, but we don't seem to get as many
gripes about them...)
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [HACKERS] create table and default 'now' problem ?
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Re: Referential Integrity In PostgreSQL