Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-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

Responses

pgsql-cygwin by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group