Bug #717: timestamp is converted to timestamptz

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #717: timestamp is converted to timestamptz
Дата
Msg-id 20020723154521.BF9C5475C57@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
Donald Fraser (demolish@gtonline.net) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
timestamp is converted to timestamptz

Long Description
When specifying a column data type as timestamp it is always converted to timestamptz.
According to the documentation on types, there is a difference between timestamp and timestampz, yet the only place
thatI can find documentation that says timestamp will be converted to timestamptz is in the source code (gram.y).
 
As a work around I found that using the ANSI SQL DATETIME type, it is converted to type timestamp.
The annoyance is that progams such as pgAdminII only allow you to specify column data types for those specified by the
backendsystem. That is DATETIME is not available as a column data type. 

Sample Code


No file was uploaded with this report

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

Предыдущее
От: "Scott Shattuck"
Дата:
Сообщение: Re: VACUUM FULL changes the order of rows in a table?
Следующее
От: Dmitry Tkach
Дата:
Сообщение: JDBC timestamp does not understand [-]infinity