Re: install libpq.dll in bin directory on Windows / Cygwin

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: install libpq.dll in bin directory on Windows / Cygwin
Дата
Msg-id 51F193D9.3070305@dunslane.net
обсуждение исходный текст
Ответ на install libpq.dll in bin directory on Windows / Cygwin  (Andrew Dunstan <andrew.dunstan@pgexperts.com>)
Ответы Re: install libpq.dll in bin directory on Windows / Cygwin  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 07/25/2013 05:02 PM, Alvaro Herrera wrote:
> Andrew Dunstan wrote:
>> Jeff Janes asked me about this, and Bruce just tripped up on it.
>> 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. The
>> buildfarm client has for many years simply copied this dll from the
>> installation lib to the installation bin directory after running
>> "make install". But I can't really see why we don't do that as part
>> of "make install" anyway. I haven't tested but I think something
>> like this patch would achieve this goal - it would fix something
>> that's tripped a lot of people up over the years.
> 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');


cheers

andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: install libpq.dll in bin directory on Windows / Cygwin