Re: [PATCH]: Building PostgreSQL 7.0.2 on Cygwin 1.1.4 (T ake 2)

From: Pete Forman <gsez020(at)kryten(dot)bedford(dot)waii(dot)com>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org, Cygwin <cygwin(at)sources(dot)redhat(dot)com>
Subject: Re: [PATCH]: Building PostgreSQL 7.0.2 on Cygwin 1.1.4 (T ake 2)
Date: 2000-10-26 09:25:21
Message-ID: 14839.63617.57912.476939@kryten.bedford.waii.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Jason Tishler writes:
> On Thu, Oct 19, 2000 at 08:07:39AM +0100, Pete Forman wrote:
> > Jason Tishler writes:
> > > Unfortunately, two different version of the Cygwin DLL can not
> > > coexist on the same system. So, if some app needs the b20 DLL and
> > > PostgreSQL needs the 1.1.4 DLL you are SOL.
> >
> > Why so? I have both B20.1 and 1.1.4 on my system at the moment. PATH
> > determines which is used by any particular app. And as Earnie says,
> > the 1.1.4 DLL should be good for older apps.
>
> I was wrong. I thought that b20.1 used cygwin.dll not cygwin1.dll --
> it's been a while since I used b20.1. I'm very glad to hear that older
> apps can use the 1.1.4 DLL too.
>
> BTW since you have b20.1, would you be willing to build and test my
> patched version of PostgreSQL 7.0.2?

That test is now done. The only tests that fail are those involving
timezones.

The build and test was not that smooth. Overall I'd recommend
upgrading to Cygwin 1.1.4 or later rather than applying all the fixes
needed for B20.1.

I revised Jason's patches for two of the files. My attached patch is
against the original 7.0.2 code. Jason's patch should be edited to
remove the sections for backend/utils/error/elog.c and exc.c. His
patch was posted to PORTS on Tue, 26 Sep 2000 15:21:46 -0400.

This patch is for 7.0.2. I am sending a patch to do the same thing
for 7.1 to the PATCHES mailing list. It works around the lack of
sys_nerr on Cygwin B20.1 and BeOS. More details on pgsql-patches.

Attachment Content-Type Size
error.patch text/plain 2.6 KB
unknown_filename text/plain 275 bytes

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Michel Beheregaray 2000-10-26 13:48:20 shmget failed
Previous Message The Hermit Hacker 2000-10-26 03:55:55 Re: latest version?