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

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: timeofday() and now() issue..
Дата
Msg-id 200305041617.04998.mallah@trade-india.com
обсуждение исходный текст
Ответ на Re: timeofday() and now() issue..  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Friday 02 May 2003 8:46 pm, Tom Lane wrote:
> 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?


Tom 

Do i have to only change POS(8) to POS(22)
in line below in datetime.c ?
{"ist", TZ, POS(8)},            /* Israel */

so that IST is interpreted as Indian Time Zone?

so some other places too ?


Regds
mallah.



>
>             regards, tom lane

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.



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

Предыдущее
От: pginfo
Дата:
Сообщение: Re: problem with max and not using index on PK
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: Best way to delete time stamped data?