can't create timestamp field (only timestamp with time zone)
От | pgsql-bugs@postgresql.org |
---|---|
Тема | can't create timestamp field (only timestamp with time zone) |
Дата | |
Msg-id | 200107070131.f671VUU09116@hub.org обсуждение исходный текст |
Ответы |
Re: can't create timestamp field (only timestamp with time
zone)
|
Список | pgsql-bugs |
Dave E Martin (xxiii@cyberdude.com) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description can't create timestamp field (only timestamp with time zone) Long Description 7.1.2 on debian It appears to be impossible to create a field with the "timestamp" data type. only the "timestamp with time zone" type. the "time" type seems to work correctly, but not "timestamp". Sample Code All of these: create table x (m timestamp, o timestamp without time zone); create table x (m datetime, o timestamp without time zone); create table x (m timestamp with time zone, o timestamp without time zone); result in: radacct=# \d x Table "x" Attribute | Type | Modifier -----------+--------------------------+---------- m | timestamp with time zone | o | timestamp with time zone | This however: create table x (m time, o time without time zone, w time with time zone); seems to work: radacct=# \d x Table "x" Attribute | Type | Modifier -----------+---------------------+---------- m | time | o | time | w | time with time zone | No file was uploaded with this report
В списке pgsql-bugs по дате отправления: