Re: why doesn't an index help my simple query?
От | Tom Lane |
---|---|
Тема | Re: why doesn't an index help my simple query? |
Дата | |
Msg-id | 17650.1054352773@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: why doesn't an index help my simple query? (Peter Bierman <bierman@apple.com>) |
Ответы |
Re: why doesn't an index help my simple query?
|
Список | pgsql-novice |
Peter Bierman <bierman@apple.com> writes: > 1) is there an easy way for me to change the type in place? Not in this case --- the stored representations of timestamp and timestamp-with-tz differ. (The format is the same but the idea of what is the zero reference is not.) I'm afraid you have to dump and reload, or at least use INSERT...SELECT to build a new table. > Should the plain 'timestamp' type really default to a different type > than what all the rest of the timestamp operators prefer? Tell me about it :-(. SQL92 specifies that "timestamp" means "timestamp without time zone", but this is an utterly brain-dead default IMHO. You can check the PG list archives if you want to see past flamewars about the issue. As a member of the losing side I will gracefully retire... regards, tom lane
В списке pgsql-novice по дате отправления: