]> granicus.if.org Git - pgbouncer/commit
win32: simpler service handling, cleanups
authorMarko Kreen <markokr@gmail.com>
Sat, 10 Jan 2009 18:54:16 +0000 (18:54 +0000)
committerMarko Kreen <markokr@gmail.com>
Sat, 10 Jan 2009 18:54:16 +0000 (18:54 +0000)
commit576bfbb5850ec811d07f6f1234161a9593301d59
tree599f2d3f64e398263952a0bd7ebfbbdf1a683921
parentd9552a7e3900f10b3b07a8904da5e514c0730c47
win32: simpler service handling, cleanups

- one pgbouncer instance per service, in-process
- read service name from config file

cleanups:

- use FormatMessage for strerror()
- error out on wide-char build
- tag stdout/err _IONBF, they seem fully buffered by default
win32/win32support.c
win32/win32support.h