Re: FW: Timezone library - Mailing list pgsql-patches

From Tom Lane
Subject Re: FW: Timezone library
Date
Msg-id 9818.1083380955@sss.pgh.pa.us
Whole thread Raw
In response to Re: FW: Timezone library  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: FW: Timezone library
List pgsql-patches
Peter Eisentraut <peter_e@gmx.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

pgsql-patches by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: mingw regression test fixes
Next
From: Bruce Momjian
Date:
Subject: Re: FW: Timezone library