Re: ecpg and the timezone database

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ecpg and the timezone database
Дата
Msg-id 200405021821.i42ILVU15486@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: ecpg and the timezone database  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Michael Meskes wrote:
> On Fri, Apr 30, 2004 at 04:48:33PM -0400, Bruce Momjian wrote:
> > Does ecpg need to use the same timezone database as the backend?
> 
> I have to check what you changed. ecpg itself does not use the timezone
> database, but some of that code is used in pgtypeslib.

For changes see include/port.h:#define localtime(timep) pg_localtime(timep)#define gmtime(timep)
pg_gmtime(timep)#defineasctime(timep) pg_asctime(timep)#define ctime(timep) pg_ctime(timep)#define difftime(t1,t2)
pg_difftime(t1,t2)#definemktime(tm) pg_mktime(tm)#define tzset pg_tzset
 

Right now it is only Win32, but there are plans to use this for all
ports.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [INTERFACES] ecpg and the timezone database
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fixed directory locations in installs