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

Cygwin PostgreSQL DLL PATH (regression test) Problem

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Cygwin PostgreSQL DLL PATH (regression test) Problem
Date: 2001-01-02 17:37:32
Message-ID: 20010102123732.F649@dothill.com (view raw or flat)
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-ports by date

Next:From: Scott EvansDate: 2001-01-02 20:53:42
Subject: runaway processes on Win2000
Previous:From: Peter EisentrautDate: 2001-01-02 17:00:26
Subject: Re: Re: Cygwin PostgreSQL postmaster abort problem

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