Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> 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?

> We will still need the timezone database files.

Good point, I had forgotten about the data/ subdirectory.

I think src/timezone is an okay place for it ...

			regards, tom lane

Sat, 01 May 2004 16:35:30 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Timezone library 
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> 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?
> 
> > We will still need the timezone database files.
> 
> Good point, I had forgotten about the data/ subdirectory.
> 
> I think src/timezone is an okay place for it ...

Digging into getting this working on unix, it seems the configure tests
that look at /usr/include are then setting values related to timezone
that don't apply to src/timezone code.  Not sure how I am going to fix
that.  I tried adding -Isrc/timezone but that didn't help.  I am trying
to find the exact setting that it fault first.

-- 
  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

Sat, 1 May 2004 17:58:36 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: FW: Timezone library
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Digging into getting this working on unix, it seems the configure tests
> that look at /usr/include are then setting values related to timezone
> that don't apply to src/timezone code.  Not sure how I am going to fix
> that.

You rip 'em all out is how.  If we are using our own tz library then
there is no need for configure-time determination of its capabilities.

			regards, tom lane

Sat, 01 May 2004 18:02:02 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Timezone library 
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Digging into getting this working on unix, it seems the configure tests
> > that look at /usr/include are then setting values related to timezone
> > that don't apply to src/timezone code.  Not sure how I am going to fix
> > that.
> 
> You rip 'em all out is how.  If we are using our own tz library then
> there is no need for configure-time determination of its capabilities.

Yea, but I have to find the right values for the timezone database, and
right now I am having problems.

-- 
  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

Sat, 1 May 2004 18:08:22 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: FW: Timezone library
Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > Digging into getting this working on unix, it seems the configure tests
> > > that look at /usr/include are then setting values related to timezone
> > > that don't apply to src/timezone code.  Not sure how I am going to fix
> > > that.
> > 
> > You rip 'em all out is how.  If we are using our own tz library then
> > there is no need for configure-time determination of its capabilities.
> 
> Yea, but I have to find the right values for the timezone database, and
> right now I am having problems.

I ran configure under mingw and compared it to the Unix pg_config.h.  I
made the timezone-related changes to Unix so it had the same values as
mingw, but it still fails.

I am giving up for now.

-- 
  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

Sun, 2 May 2004 00:20:42 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] FW: Timezone library