Re: Date problem

Поиск
Список
Период
Сортировка
От Edipo E. F. Melo
Тема Re: Date problem
Дата
Msg-id 200010071223.e97CNkJ10864@hub.org
обсуждение исходный текст
Ответ на Date problem  ("Edipo E. F. Melo" <edipoelder@ig.com.br>)
Список pgsql-sql
On Fri, 29 Sep 2000 09:58:27 -0400, Tom Lane wrote:
Returning from previous thread, i found a solution for my
problem: "when everything fails, read the manual..."Reading the OS/2 command reference, it says that TZ has three
parts: XXXCYYY. XXX - is the timezone name, C is the increment from UTC
time, and YYY is the name of summertime.Ommiting the name of summertime (TZ=AST4), pgsql returned the
correct select.

>>> Not sure how this would apply to 2000-01-01, though.  What timezone
>>> are you in, anyway?
>>     OS/2 sets TZ=AST4ADT (I live in Brazil, Natal city).
>
>Hm.  On a RedHat Linux box, with pgsql 7.0.2:
>
>regression=# show TimeZone ;
>NOTICE:  Time zone is AST4ADT
>SHOW VARIABLE
>regression=# select '2000-01-01'::date::timestamp;
>        ?column?        
>------------------------
> 2000-01-01 00:00:00-04

   []'s
   Edipo Elder F. de Melo



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [HACKERS] Counting bool flags in a complex query
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: OID Perfomance - Object-Relational databases