Re: pgsql-server/ /configure /configure.in rc/incl ... - Mailing list pgsql-committers

From Magnus Hagander
Subject Re: pgsql-server/ /configure /configure.in rc/incl ...
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B8C1@algol.sollentuna.se
Whole thread Raw
In response to pgsql-server/ /configure /configure.in rc/incl ...  (momjian@svr1.postgresql.org (Bruce Momjian))
Responses Re: pgsql-server/ /configure /configure.in rc/incl ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
> > It doesn't even compile on my platform.
>
> Then we have some work to do ... but that work won't get done
> if the code is disabled by default.
>
> Or did we pick an upstream library so bad that it should be
> *expected* to fail to compile everywhere?  If that's true
> then I can't trust it to work on Win32 either, and we should
> be looking for another one.

[not sure if I can post to the -committers list, but since the therad is
there, giving it a try. Otherwise, the usual suspects will at least get
it in direct mail]

Certainly not, it compiles on a whole lot of platforms. I don't know if
does all the platforms postgres supports today, but it certainly does
most of them. It just requires a bunch of defines set in the Makefile.
This has to be done manually in the distribution. I'm sure this can
somehow be integrated with autoconf (some file mapping "our defines" to
"the librarys defines").

The defines are fairly well outlined in the makefile of the originaly
library (see link in readme file - I don't have it aroudn on this
machine, sorry), IIRC. Someone who knows more about exactly which of
these could/should be mapped how on the other platforms can probably say
something about how much work that integration would be.


I did the win32 part only, mainly because:
1) Win32 needed it badly. Since the current tz code was badly broken
there.

2) I'm not comfortable enough with hacking the autoconfified code myself
(yet), so I hoped someone else would do it. Bruce promised to pick up
the parts required to get it running on win32.

3) I was under the (apparantly incorrect?) impression that we wanted
this one up on win32 *now*, and then wanted to add it on other platforms
later.


//Magnus


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql-server/ /configure /configure.in rc/incl ...
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server/src/timezone Makefile pgtz.c priv ...