Re: timestamp with/without time zone

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timestamp with/without time zone
Дата
Msg-id 7983.992893795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timestamp with/without time zone  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> Let's switch 'timestamp with time zone' back to 'timestamp'.  This just
>> makes no sense.

> I wasn't following that discussion.  Why would we have a timestamp with
> no timezone anyway?

The discussion isn't about what the datatype *does*, but only about what
it's *called*.

We currently transform requests for "timestamp", "timestamp with
timezone", and "timestamp without timezone" into the same "timestamp"
datatype.  This is fine by me.  However, I think that that datatype
should display as just "timestamp" in psql displays and pg_dump output.
The datatype does not act exactly the same as SQL92's "timestamp with
timezone", so it seems to me that displaying it that way just confuses
people.

However, Thomas disagreed when last heard from...
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [PATCH] inet << indexability
Следующее
От: "Cary O'Brien"
Дата:
Сообщение: Index files grow forever?