Re: [HACKERS] FW: Postgresql on win32

2001-01-24 Thread Bruce Momjian
I have added ./include/config.h.win32 to the RELEASE_CHANGES update list. > Magnus Hagander writes: > > > > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > > > We're losing this battle anyway. Look into > > > src/interfaces/libpq/libpq.rc. > > > > > > Ugh. Magnus, is there any reasonable way

RE: [HACKERS] FW: Postgresql on win32

2001-01-24 Thread Peter Eisentraut
Magnus Hagander writes: > > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > > We're losing this battle anyway. Look into > > src/interfaces/libpq/libpq.rc. > > > > Ugh. Magnus, is there any reasonable way to generate that > > thing on the fly on Win32? > It's the same thing as with version.h -

RE: [HACKERS] FW: Postgresql on win32

2001-01-24 Thread Magnus Hagander
> Peter Eisentraut <[EMAIL PROTECTED]> writes: > > We're losing this battle anyway. Look into > src/interfaces/libpq/libpq.rc. > > Ugh. Magnus, is there any reasonable way to generate that > thing on the fly on Win32? It's the same thing as with version.h - e.g. not really :-( It can be done,

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Peter Mount
At 13:01 22/01/01 -0500, Tom Lane wrote: >Peter Eisentraut <[EMAIL PROTECTED]> writes: > > We're losing this battle anyway. Look into src/interfaces/libpq/libpq.rc. > >Ugh. Magnus, is there any reasonable way to generate that thing on the >fly on Win32? While on this subject, does anyone have

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Bruce Momjian
> Tom Lane writes: > > > Putting > > > > > ! #define PG_VERSION 7.1 > > > ! #define PG_VERSION_STR "7.1 (win32)" > > > > into config.h.win32 is most certainly *not* an acceptable solution. > > We are not going to start maintaining this file's idea of the version > > by hand, now that we've centra

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > We're losing this battle anyway. Look into src/interfaces/libpq/libpq.rc. Ugh. Magnus, is there any reasonable way to generate that thing on the fly on Win32? One could imagine fixing this in configure --- have configure generate libpq.rc from lib

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Peter Eisentraut
Tom Lane writes: > Putting > > > ! #define PG_VERSION 7.1 > > ! #define PG_VERSION_STR "7.1 (win32)" > > into config.h.win32 is most certainly *not* an acceptable solution. > We are not going to start maintaining this file's idea of the version > by hand, now that we've centralized the version in

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane writes: >> Actually, it might be easier to go back to keeping it in a file >> version.h (NOT .in) which configure could read it out of. I never >> figured out why Peter put it directly in configure.in in the first >> place; that means it is

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Peter Eisentraut
Tom Lane writes: > Actually, it might be easier to go back to keeping it in a file > version.h (NOT .in) which configure could read it out of. I never > figured out why Peter put it directly in configure.in in the first > place; that means it is actually hard-coded in two files (configure.in > a

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Tom Lane
Pete Forman <[EMAIL PROTECTED]> writes: > Tom Lane writes: >>> That'd be OK with me. I don't suppose Win32 has "sed" though :-( > Cygwin does. We can worry about native support for PostgreSQL later ;-) This is the native support we are talking about. The Cygwin port uses configure, no?

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Pete Forman
Tom Lane writes: > That'd be OK with me. I don't suppose Win32 has "sed" though :-( Cygwin does. We can worry about native support for PostgreSQL later ;-) -- Pete Forman -./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not r

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Tom Lane
Magnus Hagander <[EMAIL PROTECTED]> writes: > Question: Can I assume that configure.in stays the way it is now? In the way > that if I could just extract the line "VERSION='xyz'" from it, that will > continue to work? It might be possible to do something around that. That'd be OK with me. I don'

RE: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Magnus Hagander
> Magnus Hagander <[EMAIL PROTECTED]> writes: > >> 2) PG_VERSION is no longer defined in version.h[.in], but in > >> configure.in. Since we don't do configure on native win32, we > >> need to put it in config.h.win32 :-( > > Putting > > > ! #define PG_VERSION 7.1 > > ! #define PG_VERSION_STR "

Re: [HACKERS] FW: Postgresql on win32

2001-01-22 Thread Tom Lane
Magnus Hagander <[EMAIL PROTECTED]> writes: >> 2) PG_VERSION is no longer defined in version.h[.in], but in >> configure.in. Since we don't do configure on native win32, we >> need to put it in config.h.win32 :-( Putting > ! #define PG_VERSION 7.1 > ! #define PG_VERSION_STR "7.1 (win32)" into