Re: FW: Timezone library

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: FW: Timezone library
Date: 2004-05-01 03:09:15
Message-ID: 9818.1083380955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I think it would be better to put it under one of the generic
> subdirectories, such as src/utils/timezone. We may have to add
> additional libraries of this kind in the future, and it would be better
> to have them grouped somehow.

The closest precedent we have at the moment is src/backend/regex, which
is a fairly large library that we imported lock-stock-and-barrel.
However, this precedent wouldn't hold if the code needs to be usable
from non-backend code. ecpg seems to want to use the tz code ...

Right at the moment I am thinking we may end up keeping only about one
file out of the existing src/timezone import, so maybe it doesn't need
a whole subdirectory anyway?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-05-01 03:12:33 Re: FW: Timezone library
Previous Message Bruce Momjian 2004-05-01 03:07:48 Re: win32 build and test issues

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-01 03:09:48 Re: win32 build and test issues
Previous Message Andrew Dunstan 2004-05-01 03:08:11 Re: mingw regression test fixes