Setting time zone commands

Поиск
Список
Период
Сортировка
От cnliou
Тема Setting time zone commands
Дата
Msg-id 1070368820.14816.cnliou@so-net.net.tw
обсуждение исходный текст
Ответы Re: Setting time zone commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi!

Seeing no comments on the same issue I raised in=20
pgsql-general list, I am posting it here.
The documentation (Appendix B.2. Date/Time Key Words) says=20
that the following SQL's are legal, but actually they are=20
not:

SET TIME ZONE TO '<any time zone abbreviation>'
(examples:
SET TIMEZONE TO 'NZDT';
SET TIMEZONE TO 'EST';
)

However, the following SQL's are accepted by postgres:

SET TIME ZONE TO 0
SET TIME ZONE TO 9
SET TIME ZONE TO -4

Regards,
CN

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

Предыдущее
От: Martin Edlman
Дата:
Сообщение: Re: Repeatedly breaking indexes - SOLVED
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Setting time zone commands