Re: timeofday() and now() issue..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timeofday() and now() issue..
Дата
Msg-id 10656.1051888606@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timeofday() and now() issue..  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Ответы Re: timeofday() and now() issue..
Re: timeofday() and now() issue..
Список pgsql-sql
Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> tradein_clients=#  SELECT timeofday();
> +-------------------------------------+
> |              timeofday              |
> +-------------------------------------+
> | Fri May 02 20:34:13.634355 2003 IST |
> +-------------------------------------+

Hmm.  Looking in datetime.c, I see that Postgres believes "IST" is
Israel Standard Time, GMT+2.  So that explains the discrepancy,
if you think it's GMT+5.5.  What exactly are you doing to set the
system timezone?
        regards, tom lane



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

Предыдущее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: timeofday() and now() issue..
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: timeofday() and now() issue..