Re: PGbouncer for Windows 2008

Поиск
Список
Период
Сортировка
От Edison So
Тема Re: PGbouncer for Windows 2008
Дата
Msg-id CAO-yB4FzSBQ4diDxWBkD6yp_zCZLSbH9z3qKk=CpnqMuiK2Ucg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PGbouncer for Windows 2008  (tuanhoanganh <hatuan05@gmail.com>)
Ответы Re: PGbouncer for Windows 2008  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
Thank you for the reply.

I downloaded the 64-bit version and extracted it. Unfortunately. it seems that the pbbouncer.exe file is needed to be rebulit (ie. recompiled) according to the following statements from the README file:


-------------------------------------------------
Building for WIN32
------------------

At the moment only build env tested is MINGW32 / MSYS.  Cygwin
and Visual $ANYTHING are untested.  Libevent 2.x is required
for DNS hostname lookup.

Then do the usual:

$ ./configure ...
$ make

If cross-compiling from Unix:

$ ./configure --host=i586-mingw32msvc ...

Running on WIN32
----------------

Running from command-line goes as usual, except -d (daemonize),
-R (reboot) and -u (switch user) switches will not work.

To run pgbouncer as a Windows service, you need to configure
`service_name` parameter to set name for service.  Then:

$ pgbouncer -regservice config.ini

To uninstall service:

$ pgbouncer -unregservice config.ini

To use Windows Event Log, set "syslog = 1" in config file.
But before you need to register pgbevent.dll:

$ regsvr32 pgbevent.dll

To unregister it, do `regsvr32 /u pgbevent.dll`.
-------------------------

I do not have a SDE environment to rebuild the ,exe file. Any other idea?

Cheers,



On Sat, Jan 21, 2012 at 8:40 AM, tuanhoanganh <hatuan05@gmail.com> wrote:
http://winpg.jp/~saito/pgbouncer/ 


On Fri, Jan 20, 2012 at 11:01 PM, Edison So <edison.so2@gmail.com> wrote:
Hello,

Can anyone please tell me where I can find the PGbouncer executable and tutorial for Windows 2008? I found one but need to recompile on Windows. I also need intuitive instructions to configure it too.

Thanks in advance.
--
Edison




--
Edison

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

Предыдущее
От: Maxim Boguk
Дата:
Сообщение: Re: Question about (probably wrong) index scan cost for conditional indexes
Следующее
От: John R Pierce
Дата:
Сообщение: Re: PGbouncer for Windows 2008