Re: Default to TIMESTAMP WITH TIME ZONE?

Поиск
Список
Период
Сортировка
От Gavin Flower
Тема Re: Default to TIMESTAMP WITH TIME ZONE?
Дата
Msg-id fd0eb46f-cd35-c95a-bd20-211b74f8debc@archidevsys.co.nz
обсуждение исходный текст
Ответ на Re: Default to TIMESTAMP WITH TIME ZONE?  (Greg Stark <stark@mit.edu>)
Ответы Re: Default to TIMESTAMP WITH TIME ZONE?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On 13/08/21 5:14 pm, Greg Stark wrote:
> I think having a GUC to change to a different set of semantics is not workable.
>
> However that doesn't mean we can't do anything. We could have a GUC
> that just disables allowing creating columns of type timestamp without
> tz. That could print an error with a hint suggesting you can change
> the variable if you really want to allow them.
>
> I still would hesitate to make it the default but admins could set it
> to help their developers.
>
[...]

I always use the tz version, except when I forget.  Initially, I was 
totally unaware of the need & usefulness of storing time in tz. So I 
would use the GUC.

Suspect that it is extremely rare when one would not want to use the TZ 
option, which suggests to me that using TZ should be the default.


Cheers,
Gavin




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

Предыдущее
От: "Andrey V. Lepikhov"
Дата:
Сообщение: Re: Postgres picks suboptimal index after building of an extended statistics
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Shared memory size computation oversight?