Re: install libpq.dll in bin directory on Windows / Cygwin - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: install libpq.dll in bin directory on Windows / Cygwin
Date
Msg-id 20130725211106.GI14652@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: install libpq.dll in bin directory on Windows / Cygwin  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
> 
> On 07/25/2013 05:02 PM, Alvaro Herrera wrote:
> >Andrew Dunstan wrote:

> >>Usually on Windows it's necessary to have libpq.dll/cygpq.dll either
> >>in the PATH or in the same directory as client .exe files.
> >
> >Seems a reasonable workaround for a silly platform bug.  Do you need to
> >patch the MSVC stuff as well?
> 
> MSVC already does it - see src/tools/msvc/Install.pm:
> 
>     lcopy($target . '/lib/libpq.dll', $target . '/bin/libpq.dll');

Oh, so your patch is just a bug fix and we should backpatch it all the
way, no?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: install libpq.dll in bin directory on Windows / Cygwin
Next
From: Jeff Janes
Date:
Subject: Re: Adding Zigzag Merge Join to Index Nested Loops Join