Bad cast priority for DATE?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Bad cast priority for DATE?
Дата
Msg-id 4C940791.6040303@agliodbs.com
обсуждение исходный текст
Ответы Re: Bad cast priority for DATE?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Folks,

I was noticing that, where we have a function which has two versions,
timestamp and timestamptz (for example, date_trunc()), if I use a DATE
timestamptz is the default cast.  Shouldn't timestamp without time zone
be the default?  Is this something we can fix without an overhaul of the
type casting system?


--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Progress indication prototype
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bad cast priority for DATE?