Re: Date Anomaly??

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Date Anomaly??
Дата
Msg-id 27677.1052323985@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Date Anomaly??  (Thomas Good <tomg@sqlclinic.net>)
Список pgsql-sql
Thomas Good <tomg@sqlclinic.net> writes:
> Bottom line: there is no way to return a MM-DD-YYYY value?

Certainly:

regression=# set DateStyle TO postgresql,us;
SET
regression=# select 'today'::date;   date
------------05-07-2003
(1 row)

Perhaps you are confused by the difference between timestamp and date?
        regards, tom lane



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

Предыдущее
От: Thomas Good
Дата:
Сообщение: Re: Date Anomaly??
Следующее
От: Wei Weng
Дата:
Сообщение: index defragmentation