]> granicus.if.org Git - pgbouncer/log
pgbouncer
12 years agoIf connect string changes, refresh welcome parameters.
Marko Kreen [Wed, 14 Mar 2012 10:11:15 +0000 (12:11 +0200)]
If connect string changes, refresh welcome parameters.

This is mainly needed when new server is differenct version
of Postgres.  Previously PgBouncer kept reporting old
version which confuses clients.

It would be even better to detect version change without
the connect string change and without reload, but that
will require quite complex logic.  Lets use simple fix first.

12 years agoAdd 'tags' target to makefile
Marko Kreen [Wed, 14 Mar 2012 10:10:44 +0000 (12:10 +0200)]
Add 'tags' target to makefile

12 years agoautodb: drop old connections on config change
Marko Kreen [Tue, 13 Mar 2012 10:04:15 +0000 (12:04 +0200)]
autodb: drop old connections on config change

We already do it for regular databases, but autodb
needs different approach.

Reported-by: Maxim Boguk
12 years agoDocument stats_period
Marko Kreen [Sun, 26 Feb 2012 22:52:40 +0000 (00:52 +0200)]
Document stats_period

12 years agoNon-git-based dist files for libusual.
Marko Kreen [Fri, 10 Feb 2012 11:14:40 +0000 (13:14 +0200)]
Non-git-based dist files for libusual.

Need to move the spec into libusual proper.

12 years agounix_socket_mode / _name
Marko Kreen [Thu, 19 Jan 2012 11:26:57 +0000 (13:26 +0200)]
unix_socket_mode / _name

This mirrors similar parameters in Postgres config.

12 years agodoc: make manpages and html 'dist'
Marko Kreen [Thu, 19 Jan 2012 11:20:32 +0000 (13:20 +0200)]
doc: make manpages and html 'dist'

This stops cleaning them (thus pointless rebuilds)
and also includes in tarball.

12 years agorefresh libusual
Marko Kreen [Thu, 19 Jan 2012 11:20:14 +0000 (13:20 +0200)]
refresh libusual

12 years agovarcache: allow empty string for server-side variable.
Marko Kreen [Thu, 19 Jan 2012 09:58:36 +0000 (11:58 +0200)]
varcache: allow empty string for server-side variable.

Seems application_name is broken otherwise.

Reported-by: Tim Bunce
12 years agoconfigure: bump asciidoc req to >= 8.4
Marko Kreen [Thu, 19 Jan 2012 09:57:41 +0000 (11:57 +0200)]
configure: bump asciidoc req to >= 8.4

Seems older ones do not parse current docs anymore.

12 years agov1.5 pgbouncer_1_5
Marko Kreen [Thu, 5 Jan 2012 13:08:58 +0000 (15:08 +0200)]
v1.5

12 years agomakefile: add config.log to DISTCLEANFILES
Marko Kreen [Thu, 5 Jan 2012 13:01:21 +0000 (15:01 +0200)]
makefile: add config.log to DISTCLEANFILES

12 years agorefresh libusual
Marko Kreen [Thu, 5 Jan 2012 13:01:14 +0000 (15:01 +0200)]
refresh libusual

12 years agomakefile: shortcuts for uploading
Marko Kreen [Tue, 20 Dec 2011 22:18:47 +0000 (00:18 +0200)]
makefile: shortcuts for uploading

12 years agoUpdate news for 1.5rc1 pgbouncer_1_5_rc1
Marko Kreen [Tue, 20 Dec 2011 22:08:10 +0000 (00:08 +0200)]
Update news for 1.5rc1

12 years agorefresh libusual
Marko Kreen [Tue, 20 Dec 2011 22:02:01 +0000 (00:02 +0200)]
refresh libusual

12 years agorefresh libusual
Marko Kreen [Tue, 20 Dec 2011 21:46:45 +0000 (23:46 +0200)]
refresh libusual

12 years agoRefresh libusual
Marko Kreen [Tue, 20 Dec 2011 19:54:31 +0000 (21:54 +0200)]
Refresh libusual

12 years agodoc: dont try to build manpages if no asciidoc
Marko Kreen [Tue, 20 Dec 2011 19:53:52 +0000 (21:53 +0200)]
doc: dont try to build manpages if no asciidoc

12 years agoMention required gnu-make version
Marko Kreen [Tue, 20 Dec 2011 19:25:47 +0000 (21:25 +0200)]
Mention required gnu-make version

12 years agosystem.h: use <usual/ctype.h> instead ctype directly.
Marko Kreen [Tue, 20 Dec 2011 19:20:57 +0000 (21:20 +0200)]
system.h: use <usual/ctype.h> instead ctype directly.

Fixes problems with signed chars.

12 years agorefresh libusual
Marko Kreen [Tue, 20 Dec 2011 15:36:55 +0000 (17:36 +0200)]
refresh libusual

12 years agodeb: export options to make nostrip work
Marko Kreen [Tue, 20 Dec 2011 15:28:05 +0000 (17:28 +0200)]
deb: export options to make nostrip work

12 years agomake zip: shortcut to build -win32.zip
Marko Kreen [Tue, 20 Dec 2011 15:13:26 +0000 (17:13 +0200)]
make zip: shortcut to build -win32.zip

12 years agoFew build fixes
Marko Kreen [Tue, 20 Dec 2011 15:01:55 +0000 (17:01 +0200)]
Few build fixes

- drop fixman.py, not needed
- support srcdir != builddir
- make 'doc' proper subdir

12 years agoMakefile: recurse into 'doc'
Marko Kreen [Tue, 13 Dec 2011 14:08:57 +0000 (16:08 +0200)]
Makefile: recurse into 'doc'

12 years agodeb: override DEB_CONFIGURE_EXTRA_FLAGS for old cdbs
Marko Kreen [Tue, 13 Dec 2011 14:08:30 +0000 (16:08 +0200)]
deb: override DEB_CONFIGURE_EXTRA_FLAGS for old cdbs

12 years agorefresh libusual
Marko Kreen [Tue, 13 Dec 2011 13:52:37 +0000 (15:52 +0200)]
refresh libusual

12 years agoMakefile cleanup
Marko Kreen [Tue, 13 Dec 2011 13:20:12 +0000 (15:20 +0200)]
Makefile cleanup

- add autoconf files to distclean
- find antimake even when unconfigured
- proper error message when unconfigured
- make deb shortcut - needs to be run in configured tree

12 years agodebian/: drop yada, use simple cdbs packaging
Marko Kreen [Tue, 13 Dec 2011 13:09:55 +0000 (15:09 +0200)]
debian/: drop yada, use simple cdbs packaging

12 years agoauthors: add Petr
Marko Kreen [Mon, 12 Dec 2011 23:18:33 +0000 (01:18 +0200)]
authors: add Petr

12 years agoInclude lib/ in .tgz
Marko Kreen [Mon, 12 Dec 2011 23:18:15 +0000 (01:18 +0200)]
Include lib/ in .tgz

12 years agov1.5rc1
Marko Kreen [Mon, 12 Dec 2011 22:51:47 +0000 (00:51 +0200)]
v1.5rc1

12 years agorefresh libusual
Marko Kreen [Mon, 12 Dec 2011 22:51:27 +0000 (00:51 +0200)]
refresh libusual

12 years agopgbevent: hide switches from compiler
Marko Kreen [Mon, 12 Dec 2011 22:22:47 +0000 (00:22 +0200)]
pgbevent: hide switches from compiler

12 years agorefresh libusual
Marko Kreen [Mon, 12 Dec 2011 22:22:25 +0000 (00:22 +0200)]
refresh libusual

12 years agorefresh libusual
Marko Kreen [Mon, 12 Dec 2011 20:48:13 +0000 (22:48 +0200)]
refresh libusual

12 years agoadns_create_context: do zone_init before impl_init
Marko Kreen [Mon, 12 Dec 2011 19:33:00 +0000 (21:33 +0200)]
adns_create_context: do zone_init before impl_init

The latter can fail, thus crashing adns_free_context().

12 years agodnslookup: use safe_evtimer_add
Marko Kreen [Mon, 12 Dec 2011 18:20:58 +0000 (20:20 +0200)]
dnslookup: use safe_evtimer_add

12 years agomove to antimake
Marko Kreen [Tue, 6 Dec 2011 14:02:12 +0000 (16:02 +0200)]
move to antimake

12 years agopga_pton: parse '*' as INADDR_ANY
Marko Kreen [Wed, 7 Dec 2011 14:11:04 +0000 (16:11 +0200)]
pga_pton: parse '*' as INADDR_ANY

12 years agoPrepare for 1.5
Marko Kreen [Tue, 22 Nov 2011 22:05:37 +0000 (00:05 +0200)]
Prepare for 1.5

12 years agoRESUME <db>: fix copy-pasted log message
Peter Eisentraut [Tue, 22 Nov 2011 21:24:39 +0000 (23:24 +0200)]
RESUME <db>: fix copy-pasted log message

12 years agofaq: how to connect to pgbouncer.
Marko Kreen [Tue, 22 Nov 2011 21:20:49 +0000 (23:20 +0200)]
faq: how to connect to pgbouncer.

12 years agoImprove error msg when connections to server fail.
Marko Kreen [Tue, 22 Nov 2011 21:19:57 +0000 (23:19 +0200)]
Improve error msg when connections to server fail.

12 years agoNew commands: SHOW DNS_HOSTS|DNS_ZONES
Marko Kreen [Tue, 22 Nov 2011 21:18:44 +0000 (23:18 +0200)]
New commands:  SHOW DNS_HOSTS|DNS_ZONES

To give visibility into DNS cache.

12 years agodns cleanups
Marko Kreen [Sat, 19 Nov 2011 14:25:43 +0000 (16:25 +0200)]
dns cleanups

- getaddrinfo_a, evdns2: add SOCK_STREAM to hints, to skip duplicate ips
- log all ips received
- udns, evdns1: fill more addrinfo fields
- avoid 'unused got_zone_serial' warning on non-udns backends

12 years agodocs for 'dns_zone_check_period'
Marko Kreen [Thu, 17 Nov 2011 17:17:02 +0000 (19:17 +0200)]
docs for 'dns_zone_check_period'

12 years agoFew udns fixes:
Marko Kreen [Thu, 17 Nov 2011 10:45:02 +0000 (12:45 +0200)]
Few udns fixes:

- There was test code to hardwire localhost as dns server.  Remove.
- udns_io_cb expected EV_PERSIST, event_set did not do it.  Fix.
- logging cleanup

12 years agoautogen: work with older libtool and autoconf
Marko Kreen [Tue, 15 Nov 2011 14:32:46 +0000 (16:32 +0200)]
autogen: work with older libtool and autoconf

12 years agodns_callback: restore ipv6 branch
Marko Kreen [Tue, 1 Nov 2011 22:28:49 +0000 (00:28 +0200)]
dns_callback: restore ipv6 branch

seems it was lost during merge.

12 years agoDocument KILL cmd, mention per-db pause.
Marko Kreen [Wed, 26 Oct 2011 08:51:30 +0000 (11:51 +0300)]
Document KILL cmd, mention per-db pause.

12 years agoMerge remote-tracking branch 'mtharp/rpath'
Marko Kreen [Wed, 26 Oct 2011 08:38:48 +0000 (11:38 +0300)]
Merge remote-tracking branch 'mtharp/rpath'

Conflicts:
src/janitor.c

Instead not flagging paused auto-db as inactive,
I moved the check to auto-db cleanup.

12 years agoMake pga_ntop/pga_str non-failing and zero-terminating
Marko Kreen [Tue, 25 Oct 2011 12:51:06 +0000 (15:51 +0300)]
Make pga_ntop/pga_str non-failing and zero-terminating

This frees call sites from worring about it.

Also fix some buf sizes in admin.c

12 years agomin_pool_size: add Filip Rembiałkowski to AUTHORS
Marko Kreen [Fri, 21 Oct 2011 11:50:14 +0000 (14:50 +0300)]
min_pool_size: add Filip Rembiałkowski to AUTHORS

Credit was lost from original commit, as I pushed
out without finalizing commit message.

12 years agodns stats, support wraparound serials
Marko Kreen [Fri, 21 Oct 2011 11:47:50 +0000 (14:47 +0300)]
dns stats, support wraparound serials

12 years agolog_socket_prefix: avoid corrupt hosts in log
Marko Kreen [Fri, 21 Oct 2011 11:30:46 +0000 (14:30 +0300)]
log_socket_prefix: avoid corrupt hosts in log

- increase host name buffer and clear it, seems inet_ntop is allowed
  to not zero-terminate...
- detect failed conversion

12 years agodns: query zone SOA, recheck hosts if changes
Marko Kreen [Mon, 17 Oct 2011 08:42:52 +0000 (11:42 +0300)]
dns: query zone SOA, recheck hosts if changes

12 years agoconfigure: include stddef.h in udns check to get NULL
Marko Kreen [Mon, 17 Oct 2011 08:39:46 +0000 (11:39 +0300)]
configure: include stddef.h in udns check to get NULL

12 years agodns: create cache of zone names
Marko Kreen [Fri, 14 Oct 2011 07:18:06 +0000 (10:18 +0300)]
dns: create cache of zone names

To be used to query zone changes

12 years agoconsole: relax word regex to allow numbers
Marko Kreen [Fri, 14 Oct 2011 07:17:39 +0000 (10:17 +0300)]
console: relax word regex to allow numbers

12 years agotodo: add some items
Marko Kreen [Fri, 14 Oct 2011 07:13:38 +0000 (10:13 +0300)]
todo: add some items

12 years agoidle_transaction_timeout: new config option
Marko Kreen [Sun, 9 Oct 2011 08:08:06 +0000 (10:08 +0200)]
idle_transaction_timeout: new config option

12 years agoA packet wont change state
Marko Kreen [Sun, 9 Oct 2011 08:06:48 +0000 (10:06 +0200)]
A packet wont change state

12 years agomin-pool-size doc fix
Marko Kreen [Sun, 9 Oct 2011 08:03:28 +0000 (10:03 +0200)]
min-pool-size doc fix

12 years agorefresh libusual
Marko Kreen [Thu, 6 Oct 2011 09:05:51 +0000 (11:05 +0200)]
refresh libusual

12 years agomin_pool_size (draft)
Marko Kreen [Mon, 3 Oct 2011 19:59:49 +0000 (22:59 +0300)]
min_pool_size (draft)

12 years agoudns support (draft)
Marko Kreen [Mon, 3 Oct 2011 19:57:56 +0000 (22:57 +0300)]
udns support (draft)

13 years agoWhen user= is used without password=, use userlist password.
Marko Kreen [Mon, 12 Sep 2011 11:56:37 +0000 (14:56 +0300)]
When user= is used without password=, use userlist password.

Otherwise it will get unobvious auth failure when trying
to log in with empty password.

Main user list is consulted on connect time, because
copying/linking on load time would be hard to keep
in sync with auth file changes.

Reported by Johnny Tan

13 years agoconsole: allow identifier quoting with ""
Marko Kreen [Mon, 12 Sep 2011 11:51:13 +0000 (14:51 +0300)]
console: allow identifier quoting with ""

Now we have PAUSE <db>; thus need a way to quote weird names.

Reported by Vanessa Hurst

13 years agov1.4.3dev1
Marko Kreen [Thu, 1 Sep 2011 09:14:30 +0000 (12:14 +0300)]
v1.4.3dev1

13 years agoDescribe EDNS0, use getaddrinfo_a() on debian
Marko Kreen [Thu, 1 Sep 2011 09:13:32 +0000 (12:13 +0300)]
Describe EDNS0, use getaddrinfo_a() on debian

13 years agoMention max_client_conn in "no more" error message
Marko Kreen [Thu, 1 Sep 2011 08:43:12 +0000 (11:43 +0300)]
Mention max_client_conn in "no more" error message

13 years agoFix too compact syntax.
Marko Kreen [Thu, 1 Sep 2011 08:41:49 +0000 (11:41 +0300)]
Fix too compact syntax.

13 years agoMerge remote-tracking branch 'intgit/master'
Marko Kreen [Wed, 24 Aug 2011 09:17:38 +0000 (12:17 +0300)]
Merge remote-tracking branch 'intgit/master'

13 years agoDetect DNS reply changes and invalidate connections to IPs no longer present in lates...
Petr Jelinek [Tue, 23 Aug 2011 19:22:53 +0000 (21:22 +0200)]
Detect DNS reply changes and invalidate connections to IPs no longer present in latest reply

13 years agofaq: use nicer code-blocks
Marko Kreen [Fri, 24 Jun 2011 13:28:06 +0000 (16:28 +0300)]
faq: use nicer code-blocks

13 years agofaq: disabling prepared statements in PHP
Marko Kreen [Fri, 24 Jun 2011 13:22:59 +0000 (16:22 +0300)]
faq: disabling prepared statements in PHP

13 years agoCorrect spelling of 'immediate'
Dan McGee [Wed, 22 Jun 2011 00:37:28 +0000 (19:37 -0500)]
Correct spelling of 'immediate'

sed -i -e 's/immidiate/immediate/g' src/*.c include/*.h

Signed-off-by: Dan McGee <dan@archlinux.org>
13 years agoAdd and populate .gitignore files
Dan McGee [Wed, 22 Jun 2011 00:37:26 +0000 (19:37 -0500)]
Add and populate .gitignore files

Signed-off-by: Dan McGee <dan@archlinux.org>
13 years agoFix documentation typos
Dan McGee [Wed, 22 Jun 2011 00:37:27 +0000 (19:37 -0500)]
Fix documentation typos

Signed-off-by: Dan McGee <dan@archlinux.org>
13 years agoFix typos in default config file
Dan McGee [Wed, 22 Jun 2011 00:37:25 +0000 (19:37 -0500)]
Fix typos in default config file

Signed-off-by: Dan McGee <dan@archlinux.org>
13 years agov1.4.2 pgbouncer_1_4_2
Marko Kreen [Thu, 16 Jun 2011 14:20:43 +0000 (17:20 +0300)]
v1.4.2

13 years agov1.4.2rc1 pgbouncer_1_4_2_rc1
Marko Kreen [Thu, 2 Jun 2011 15:42:11 +0000 (18:42 +0300)]
v1.4.2rc1

13 years agoRefresh libusual
Marko Kreen [Thu, 2 Jun 2011 14:48:01 +0000 (17:48 +0300)]
Refresh libusual

13 years agorefresh libusual
Marko Kreen [Fri, 29 Apr 2011 15:23:45 +0000 (18:23 +0300)]
refresh libusual

13 years agoMakefile: give CFLAGS to linker
Marko Kreen [Fri, 29 Apr 2011 15:22:11 +0000 (18:22 +0300)]
Makefile: give CFLAGS to linker

ACX_PTHREAD will put -pthread to CFLAGS.  This needs also to
reach linker.

Reported-by: Pierre-Emmanuel André
13 years agoMakefile: add pgbouncer.ini and userlist.txt to zip
Marko Kreen [Fri, 29 Apr 2011 15:21:00 +0000 (18:21 +0300)]
Makefile: add pgbouncer.ini and userlist.txt to zip

13 years agotodo update
Marko Kreen [Sat, 2 Apr 2011 14:13:41 +0000 (17:13 +0300)]
todo update

13 years agov1.4.1 pgbouncer_1_4_1
Marko Kreen [Fri, 1 Apr 2011 18:52:18 +0000 (21:52 +0300)]
v1.4.1

13 years agoFix some clang analyzer warnings.
Marko Kreen [Wed, 30 Mar 2011 07:30:11 +0000 (10:30 +0300)]
Fix some clang analyzer warnings.

13 years agoFix copy-paste error in last autodb fix.
Marko Kreen [Wed, 30 Mar 2011 07:28:12 +0000 (10:28 +0300)]
Fix copy-paste error in last autodb fix.

13 years agoconfig.txt: mention new default for server_reset_query
Marko Kreen [Tue, 29 Mar 2011 14:32:30 +0000 (17:32 +0300)]
config.txt: mention new default for server_reset_query

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