]> granicus.if.org Git - pgbouncer/log
pgbouncer
13 years agov1.4.1-rc5 pgbouncer_1_4_1_rc5
Marko Kreen [Tue, 29 Mar 2011 14:01:30 +0000 (17:01 +0300)]
v1.4.1-rc5

13 years agorefresh libusual
Marko Kreen [Tue, 29 Mar 2011 06:36:49 +0000 (09:36 +0300)]
refresh libusual

13 years agoFix autodb cleanup
Marko Kreen [Tue, 29 Mar 2011 06:26:12 +0000 (09:26 +0300)]
Fix autodb cleanup

Old cleanup code was mixing up databases and pools
- as soon as one empty pool was found, the database
was tagged as 'idle', potentially later killing database
with active users.

Change the code to tag database as active when active
pool is found and later checking for inactive databases.

Reported-By: Hubert Depesz Lubaczewski
13 years agoImprove defaults: Set server_reset_query to DISCARD ALL
Marko Kreen [Mon, 28 Mar 2011 05:26:56 +0000 (08:26 +0300)]
Improve defaults: Set server_reset_query to DISCARD ALL

Now pgbouncer should be transparent with default config.

13 years agofaq.txt: describe server_reset_query
Marko Kreen [Mon, 28 Mar 2011 05:24:03 +0000 (08:24 +0300)]
faq.txt: describe server_reset_query

13 years agov1.4.1rc4 pgbouncer_1_4_1_rc4
Marko Kreen [Fri, 25 Mar 2011 23:13:17 +0000 (01:13 +0200)]
v1.4.1rc4

13 years agoautoconf update
Marko Kreen [Fri, 25 Mar 2011 23:11:42 +0000 (01:11 +0200)]
autoconf update

- Move autoconf generation into ./autogen.sh
- pthread detection needs config.sub/cobfig.guess/install-sh

13 years agorefresh libusual
Marko Kreen [Fri, 25 Mar 2011 23:11:04 +0000 (01:11 +0200)]
refresh libusual

13 years agoUpdate NEWS
Marko Kreen [Fri, 25 Mar 2011 22:38:10 +0000 (00:38 +0200)]
Update NEWS

13 years agoTurn on tcp_keepalive by default.
Marko Kreen [Fri, 25 Mar 2011 21:55:03 +0000 (23:55 +0200)]
Turn on tcp_keepalive by default.

This gives pgbouncer same behaviour as Postgres,
as Postgres does it unconditionally.

Noticed by Hubert Depesz Lubaczewski.

13 years agoMention that -R requires unix_socket_dir in various places.
Marko Kreen [Fri, 25 Mar 2011 21:49:42 +0000 (23:49 +0200)]
Mention that -R requires unix_socket_dir in various places.

Requested by Hubert Depesz Lubaczewski.

13 years agoUpdate README with DNS usage info
Marko Kreen [Fri, 25 Mar 2011 21:44:18 +0000 (23:44 +0200)]
Update README with DNS usage info

13 years agoconfigure.ac: evdns logic change
Marko Kreen [Fri, 25 Mar 2011 21:26:31 +0000 (23:26 +0200)]
configure.ac: evdns logic change

- use evdns on libevent 2.x by default
- use new AC_USUAL_GETADDRINFO_A macro

13 years agov1.4.1rc3 pgbouncer_1_4_1_rc3
Marko Kreen [Wed, 23 Mar 2011 16:06:39 +0000 (18:06 +0200)]
v1.4.1rc3

13 years agoadns: log active backend
Marko Kreen [Wed, 23 Mar 2011 16:04:02 +0000 (18:04 +0200)]
adns: log active backend

13 years agoREADME update - CVS->GIT and more.
Marko Kreen [Tue, 22 Mar 2011 07:13:52 +0000 (09:13 +0200)]
README update - CVS->GIT and more.

13 years agoconfigure: Make --disable-evdns work.
Marko Kreen [Tue, 22 Mar 2011 06:45:08 +0000 (08:45 +0200)]
configure: Make --disable-evdns work.

13 years agov1.4.1rc2 pgbouncer_1_4_1_rc2
Marko Kreen [Mon, 21 Mar 2011 21:25:59 +0000 (23:25 +0200)]
v1.4.1rc2

13 years agoconfig.txt: mention that host= takes hostnames too.
Marko Kreen [Mon, 21 Mar 2011 21:22:06 +0000 (23:22 +0200)]
config.txt: mention that host= takes hostnames too.

13 years agoWhen first config load fails, exit.
Marko Kreen [Sun, 20 Mar 2011 21:10:40 +0000 (23:10 +0200)]
When first config load fails, exit.

Otherwise we may crash on uninitialized values.

13 years agodnslookup: Fix crash when log_noise() is turned on
Marko Kreen [Sat, 19 Mar 2011 21:57:14 +0000 (23:57 +0200)]
dnslookup: Fix crash when log_noise() is turned on

13 years agolisten_addr vs. getaddrinfo: sometimes all addressed need to be used... pgbouncer_1_4_1_rc1
Marko Kreen [Fri, 18 Mar 2011 10:18:09 +0000 (12:18 +0200)]
listen_addr vs. getaddrinfo: sometimes all addressed need to be used...

13 years agotest.sh: reset only OUTPUT chain
Marko Kreen [Fri, 18 Mar 2011 10:01:59 +0000 (12:01 +0200)]
test.sh: reset only OUTPUT chain

13 years agolisten_addr: take first working address from getaddrinfo
Marko Kreen [Thu, 17 Mar 2011 20:08:28 +0000 (22:08 +0200)]
listen_addr: take first working address from getaddrinfo

On error try next address.

Later will be checked if we found any succesfull listening
sockets and if not, exit.

13 years agorefresh libusual
Marko Kreen [Fri, 4 Mar 2011 08:32:49 +0000 (10:32 +0200)]
refresh libusual

13 years agoFix uninitialized variable problems
Marko Kreen [Thu, 3 Mar 2011 21:35:23 +0000 (23:35 +0200)]
Fix uninitialized variable problems

13 years agoasm: pass .s through cleanasm
Marko Kreen [Fri, 4 Mar 2011 08:31:10 +0000 (10:31 +0200)]
asm: pass .s through cleanasm

13 years agov1.4.1rc1
Marko Kreen [Mon, 28 Feb 2011 22:12:22 +0000 (00:12 +0200)]
v1.4.1rc1

13 years agomake zip: move zip naming to separate target
Marko Kreen [Mon, 28 Feb 2011 22:09:10 +0000 (00:09 +0200)]
make zip: move zip naming to separate target

otherwise it does not pick up correct version number from config.mak

13 years agorefresh libusual
Marko Kreen [Mon, 28 Feb 2011 20:27:19 +0000 (22:27 +0200)]
refresh libusual

13 years agoSync with libusual portability changes
Marko Kreen [Thu, 24 Feb 2011 21:25:48 +0000 (23:25 +0200)]
Sync with libusual portability changes

13 years agoFix bad hint.ai_family left from testing
Marko Kreen [Mon, 21 Feb 2011 10:21:51 +0000 (12:21 +0200)]
Fix bad hint.ai_family left from testing

13 years agoupdate news
Marko Kreen [Fri, 18 Feb 2011 14:59:15 +0000 (16:59 +0200)]
update news

13 years agoconsole: send pgbouncer version as 'server_version'
Marko Kreen [Fri, 18 Feb 2011 14:50:55 +0000 (16:50 +0200)]
console: send pgbouncer version as 'server_version'

13 years agosupport multiple listen addrs
Marko Kreen [Wed, 16 Feb 2011 13:45:18 +0000 (15:45 +0200)]
support multiple listen addrs

also non-numeric listen-addresses are now supported
due to always using getaddrinfo() on listen_addr.

13 years agoIPv6 support
Marko Kreen [Wed, 16 Feb 2011 06:57:16 +0000 (08:57 +0200)]
IPv6 support

Original patch by Hannu Krosing

13 years agorefresh libusual
Marko Kreen [Wed, 16 Feb 2011 14:08:22 +0000 (16:08 +0200)]
refresh libusual

13 years agowin32: allow cf_unix_socket_dir == NULL
Marko Kreen [Wed, 16 Feb 2011 06:43:29 +0000 (08:43 +0200)]
win32: allow cf_unix_socket_dir == NULL

13 years agorelease_server(): set ->last_lifetime_disconnect on lifetime disconnect
Marko Kreen [Fri, 11 Feb 2011 14:53:34 +0000 (16:53 +0200)]
release_server(): set ->last_lifetime_disconnect on lifetime disconnect

Spotted by Emmanuel Courreges

13 years agodoc: update links
Marko Kreen [Thu, 3 Feb 2011 10:40:02 +0000 (12:40 +0200)]
doc: update links

13 years agoupdate todo
Marko Kreen [Thu, 3 Feb 2011 10:39:50 +0000 (12:39 +0200)]
update todo

13 years agoNews update for 1.4-final pgbouncer_1_4
Marko Kreen [Tue, 11 Jan 2011 14:10:24 +0000 (16:10 +0200)]
News update for 1.4-final

13 years agoDateStyle and TimeZone server params need to use exact case.
Marko Kreen [Tue, 11 Jan 2011 14:21:10 +0000 (16:21 +0200)]
DateStyle and TimeZone server params need to use exact case.

Some clients may crash if they are not set

Also add them to console.

13 years agoAdd faq.txt to tgz
Marko Kreen [Tue, 11 Jan 2011 13:15:06 +0000 (15:15 +0200)]
Add faq.txt to tgz

13 years agotest.sh: more portable nc usage
Marko Kreen [Tue, 11 Jan 2011 12:38:00 +0000 (14:38 +0200)]
test.sh: more portable nc usage

13 years agov1.4
Marko Kreen [Wed, 8 Dec 2010 15:32:15 +0000 (17:32 +0200)]
v1.4

13 years agoWhen 'database' is missing or empty in startup packet, fallback to 'user'
Marko Kreen [Wed, 8 Dec 2010 15:30:45 +0000 (17:30 +0200)]
When 'database' is missing or empty in startup packet, fallback to 'user'

13 years agorefresh libusual
Marko Kreen [Wed, 8 Dec 2010 15:30:28 +0000 (17:30 +0200)]
refresh libusual

13 years agodebug log user/database also on startup
Marko Kreen [Wed, 8 Dec 2010 15:14:50 +0000 (17:14 +0200)]
debug log user/database also on startup

13 years agov1.4rc4
Marko Kreen [Tue, 30 Nov 2010 13:14:37 +0000 (15:14 +0200)]
v1.4rc4

13 years agomissing ;
Marko Kreen [Tue, 30 Nov 2010 13:04:28 +0000 (15:04 +0200)]
missing ;

13 years agorefresh libusual
Marko Kreen [Tue, 30 Nov 2010 13:02:21 +0000 (15:02 +0200)]
refresh libusual

13 years agoload_config: always call config_postprocess()
Marko Kreen [Tue, 30 Nov 2010 13:01:20 +0000 (15:01 +0200)]
load_config: always call config_postprocess()

otherwise dbs can be in bad state, when something fails

13 years agoloader: cannot check unix_socket here anymore
Marko Kreen [Tue, 30 Nov 2010 09:51:49 +0000 (11:51 +0200)]
loader: cannot check unix_socket here anymore

13 years agoUpdate win32support.c for new load_config()
Marko Kreen [Tue, 30 Nov 2010 09:51:15 +0000 (11:51 +0200)]
Update win32support.c for new load_config()

13 years agorefresh libusual pgbouncer_1_4_rc3
Marko Kreen [Mon, 29 Nov 2010 16:24:27 +0000 (18:24 +0200)]
refresh libusual

13 years agov1.4rc3
Marko Kreen [Mon, 29 Nov 2010 16:06:04 +0000 (18:06 +0200)]
v1.4rc3

13 years agodnslookup: --enable-evdns arg to configure
Marko Kreen [Mon, 29 Nov 2010 16:03:10 +0000 (18:03 +0200)]
dnslookup: --enable-evdns arg to configure

13 years agorefresh libusual
Marko Kreen [Mon, 29 Nov 2010 11:44:30 +0000 (13:44 +0200)]
refresh libusual

13 years agoconfigure.ac: libusual is not optional
Marko Kreen [Mon, 29 Nov 2010 11:43:51 +0000 (13:43 +0200)]
configure.ac: libusual is not optional

13 years agoUse <usual/cfparser.h> for config parsing.
Marko Kreen [Mon, 22 Nov 2010 22:47:17 +0000 (00:47 +0200)]
Use <usual/cfparser.h> for config parsing.

Need to use cfparser defalt values for strings,
as it wants all non-NULL string to be allocated.

So move all defaults to cfparser values.

13 years agodoc: mention syslog_ident
Marko Kreen [Thu, 18 Nov 2010 12:00:16 +0000 (14:00 +0200)]
doc: mention syslog_ident

13 years agov1.4rc2.1
Marko Kreen [Thu, 18 Nov 2010 08:27:05 +0000 (10:27 +0200)]
v1.4rc2.1

13 years agodns: avoid returning token for queries already reported
Marko Kreen [Wed, 17 Nov 2010 15:36:27 +0000 (17:36 +0200)]
dns: avoid returning token for queries already reported

13 years agov1.4rc2
Marko Kreen [Wed, 17 Nov 2010 13:11:41 +0000 (15:11 +0200)]
v1.4rc2

13 years agoSupport canceling ongoing DNS requests.
Marko Kreen [Wed, 17 Nov 2010 13:09:49 +0000 (15:09 +0200)]
Support canceling ongoing DNS requests.

This should avoid problems when server_disconnect()
is called during DNS processing.

13 years agobump autoconf ver too
Marko Kreen [Wed, 17 Nov 2010 12:12:39 +0000 (14:12 +0200)]
bump autoconf ver too

13 years agov1.4-0rc1.1
Marko Kreen [Wed, 17 Nov 2010 12:10:52 +0000 (14:10 +0200)]
v1.4-0rc1.1

13 years agoSync syslog handling with libusual
Marko Kreen [Wed, 17 Nov 2010 12:00:42 +0000 (14:00 +0200)]
Sync syslog handling with libusual

13 years agoFix web upload, remove old wiki refs
Marko Kreen [Wed, 10 Nov 2010 14:52:50 +0000 (16:52 +0200)]
Fix web upload, remove old wiki refs

13 years agoFix JDBC vs transaction pooling FAQ
Marko Kreen [Wed, 10 Nov 2010 14:51:36 +0000 (16:51 +0200)]
Fix JDBC vs transaction pooling FAQ

13 years agov1.4rc1
Marko Kreen [Mon, 8 Nov 2010 09:04:03 +0000 (11:04 +0200)]
v1.4rc1

13 years agodns: fix failed lookup reporting.
Marko Kreen [Mon, 8 Nov 2010 08:59:09 +0000 (10:59 +0200)]
dns: fix failed lookup reporting.

13 years agov1.4rc0
Marko Kreen [Wed, 3 Nov 2010 13:40:42 +0000 (15:40 +0200)]
v1.4rc0

13 years agoDisplay warning when activating reserve_pool
Marko Kreen [Tue, 2 Nov 2010 14:11:30 +0000 (16:11 +0200)]
Display warning when activating reserve_pool

13 years agodnslookup: minor cleanups
Marko Kreen [Tue, 2 Nov 2010 14:10:43 +0000 (16:10 +0200)]
dnslookup: minor cleanups

13 years agodns reorg: use struct addrinfo as main storage unit
Marko Kreen [Wed, 13 Oct 2010 15:38:14 +0000 (18:38 +0300)]
dns reorg: use struct addrinfo as main storage unit

13 years agoquickly list of connect string params
Marko Kreen [Wed, 13 Oct 2010 15:36:34 +0000 (18:36 +0300)]
quickly list of connect string params

13 years agodoc: seems like recent asciidoc/docbook does not need manual fixing
Marko Kreen [Wed, 13 Oct 2010 15:35:34 +0000 (18:35 +0300)]
doc: seems like recent asciidoc/docbook does not need manual fixing

13 years agodnslookup - forgot to strdup host name
Marko Kreen [Tue, 12 Oct 2010 07:29:24 +0000 (10:29 +0300)]
dnslookup - forgot to strdup host name

the original host name will be freed during reload.

also remove unnecessary list_del(), as list_pop() is used above.

13 years agoMore compact libusual distro
Marko Kreen [Sat, 9 Oct 2010 07:15:42 +0000 (10:15 +0300)]
More compact libusual distro

13 years agoclient_login_timeout: check wait_for_welcome
Marko Kreen [Thu, 7 Oct 2010 10:30:47 +0000 (13:30 +0300)]
client_login_timeout: check wait_for_welcome

When rebooting, then pool->welcome_msg_ready=0 does not mean
that ->waiting_client_list will contain only new connections.

13 years agoMove 'new connection' message to connect_server()
Marko Kreen [Thu, 7 Oct 2010 09:01:34 +0000 (12:01 +0300)]
Move 'new connection' message to connect_server()

The actual address is not known before, thus log message
was 0.0.0.0.  Now it logs actual address.

13 years agoDon't disable getaddrinfo_a()...
Marko Kreen [Thu, 30 Sep 2010 04:28:18 +0000 (21:28 -0700)]
Don't disable getaddrinfo_a()...

13 years agozip generation for win32
Marko Kreen [Wed, 29 Sep 2010 21:47:32 +0000 (14:47 -0700)]
zip generation for win32

13 years agoAvoid fatal() in tune_socket()
Marko Kreen [Wed, 29 Sep 2010 16:41:20 +0000 (09:41 -0700)]
Avoid fatal() in tune_socket()

This allows to survive broken fds send during reboot from old pooler.

13 years agoUse PRIu64 instead of llu as it seems not portable enough
Marko Kreen [Wed, 29 Sep 2010 16:40:10 +0000 (09:40 -0700)]
Use PRIu64 instead of llu as it seems not portable enough

13 years agoconnect_server: store port in host order
Marko Kreen [Wed, 29 Sep 2010 16:37:36 +0000 (09:37 -0700)]
connect_server: store port in host order

13 years agorefresh libusual
Marko Kreen [Tue, 28 Sep 2010 19:09:38 +0000 (12:09 -0700)]
refresh libusual

13 years agoAnother try at async DNS - getaddrinfo_a()
Marko Kreen [Tue, 28 Sep 2010 18:05:20 +0000 (11:05 -0700)]
Another try at async DNS - getaddrinfo_a()

The libevent's evdns seems not ready for serious use:

- proper random req id is available only in 2.0.x
- it does not use random source port for different reqs
- it does not check if req id conflicts with another one

13 years agoMantion pgbouncer and libevent version on startup
Marko Kreen [Fri, 24 Sep 2010 16:05:20 +0000 (09:05 -0700)]
Mantion pgbouncer and libevent version on startup

13 years agodeb: create -dbg exe with less optimizations
Marko Kreen [Tue, 21 Sep 2010 23:18:05 +0000 (16:18 -0700)]
deb: create -dbg exe with less optimizations

13 years agoAdd Guillaume to contributors
Marko Kreen [Tue, 21 Sep 2010 23:17:40 +0000 (16:17 -0700)]
Add Guillaume to contributors

13 years agoBetter param comparision in case of missing params
Marko Kreen [Tue, 21 Sep 2010 13:16:48 +0000 (06:16 -0700)]
Better param comparision in case of missing params

13 years agoFix broken check for emtpy param value.
Marko Kreen [Tue, 21 Sep 2010 12:56:21 +0000 (05:56 -0700)]
Fix broken check for emtpy param value.

13 years agoPackaging update
Marko Kreen [Mon, 20 Sep 2010 20:37:50 +0000 (13:37 -0700)]
Packaging update

install 2 binaries:
 - pgbouncer     - without asserts
 - pgbouncer-dbg - with asserts

bump ver to 1.4 alpha

13 years agoRefresh libusual
Marko Kreen [Wed, 15 Sep 2010 13:14:40 +0000 (16:14 +0300)]
Refresh libusual

13 years agodns_connect: remove double salen
Marko Kreen [Wed, 15 Sep 2010 13:12:54 +0000 (16:12 +0300)]
dns_connect: remove double salen

13 years agoSome doc updates.
Marko Kreen [Sat, 11 Sep 2010 09:23:23 +0000 (12:23 +0300)]
Some doc updates.

13 years agoDowngrade dns log messages.
Marko Kreen [Sat, 11 Sep 2010 09:18:12 +0000 (12:18 +0300)]
Downgrade dns log messages.