Cygwin contrib patch

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>, BELLON Michel <Michel(dot)Bellon(at)lcie(dot)fr>
Subject: Cygwin contrib patch
Date: 2001-06-15 16:49:04
Message-ID: 20010615124904.Q660@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-patches

The attached patch enables the contrib subtree to build cleanly under
Cygwin with the possible exception of mSQL-interface. Since I don't
have mSQL installed, I skipped this tool.

Except for dealing with a missing getopt.h (oid2name) and HUGE (seg),
the bulk of the patch uses the standard PostgreSQL approach to deal with
Windows DLL issues.

I tested the build aspect of this patch under Cygwin and Linux without
any ill affects. Note that I did not actually attempt to test the code
for functionality.

The procedure to apply the patch is as follows:

$ # save the attachment as /tmp/contrib.patch
$ # change directory to the top of the PostgreSQL source tree
$ patch -p0 </tmp/contrib.patch

Jason

--
Jason Tishler
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Attachment Content-Type Size
contrib.patch text/plain 10.8 KB

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Fred Yankowski 2001-06-15 16:53:41 Re: Service reboot leaves postmaster.pid
Previous Message Dmitry Yurtaev 2001-06-15 16:21:30 shutdown problem & handle leaks in 7.1.2-1 & win2000

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2001-06-15 17:59:08 Re: switch for disabling ecpg & pgeasy
Previous Message Marko Kreen 2001-06-15 16:47:25 switch for disabling ecpg & pgeasy