Cygwin PostgreSQL DLL PATH (regression test) Problem - Mailing list pgsql-ports

From Jason Tishler
Subject Cygwin PostgreSQL DLL PATH (regression test) Problem
Date
Msg-id 20010102123732.F649@dothill.com
Whole thread Raw
List pgsql-ports
While running the regression tests, I have been bitten twice (once with
7.0.2 and once with a pre-7.1 Beta 2 snapshot) since pq.dll is *not*
in my PATH.  The attached patch corrects this problem and obviates the
need for users to add "/usr/local/pgsql/lib" to their PATH.

I'm not sure if my patch is the best way to solve this problem.  Note
that I'm "lucky" that plpgsql.dll doesn't end up in "/usr/local/pgsql/bin"
too.  Also note that I don't like duplicating the .dll files and would
prefer to use symlinks.  But, if I do that, then the real files must be in
bin and not lib due to Windows (i.e., not Cygwin) needing to load them as
DLLs.

Any feedback would be greatly appreciated.

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

Attachment

pgsql-ports by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: Cygwin PostgreSQL postmaster abort problem
Next
From: Scott Evans
Date:
Subject: runaway processes on Win2000