Re: Specified date type but created column is timestamp without time zone

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Specified date type but created column is timestamp without time zone
Дата
Msg-id 593392.1636227078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Specified date type but created column is timestamp without time zone  (Mike Elston <mike.elston@gmail.com>)
Список pgsql-novice
Mike Elston <mike.elston@gmail.com> writes:
> I created a table containing a column of type "date" but the
> describe command reports that the created column is "timestamp without time
> zone". Why isn't it simply "date"?

> psql (EnterpriseDB) 13.4.8

If you're using EDB, their server is hacked in a lot of ways to act
more like Oracle, and I think this discrepancy is one of them.
Oracle's idea of "date" corresponds more or less to our "timestamp",
so they translate.

            regards, tom lane



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

Предыдущее
От: Mike Elston
Дата:
Сообщение: Specified date type but created column is timestamp without time zone
Следующее
От: Jonas Gassenmeyer
Дата:
Сообщение: Check explain plan of a running query in other session