Re: pgsql-server/src/timezone pgtz.h
От | Bruce Momjian |
---|---|
Тема | Re: pgsql-server/src/timezone pgtz.h |
Дата | |
Msg-id | 200405010136.i411aBm02941@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql-server/src/timezone pgtz.h (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: pgsql-server/src/timezone pgtz.h
|
Список | pgsql-committers |
Tom Lane wrote: > momjian@svr1.postgresql.org (Bruce Momjian) writes: > > Timezone code checks for HAVE_SYMLINK of zero, so use in pgtz.h: > > > #ifndef HAVE_SYMLINK > > #define HAVE_SYMLINK 0 > > #endif > > Surely this is exactly the wrong thing to do. It will break code that > tests for #ifdef HAVE_SYMLINK. Shouldn't you instead fix the timezone > library to make its tests in a more standard way? I thought about that but I figured the less we change the tz library, the easier it will be to replace later. The code uses a zero test rather than an undef test, and that seemed OK to me assuming we will not be mucking with this code at all. -- 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, Pennsylvania 19073
В списке pgsql-committers по дате отправления: