]>
granicus.if.org Git - pgbouncer/log
Marko Kreen [Mon, 8 Oct 2007 09:50:55 +0000 (09:50 +0000)]
Show local address in SHOW CLIENTS/SERVERS/SOCKETS;
Also include 'ptr' and 'link' fields in SHOW CLIENTS/SERVERS;
Marko Kreen [Mon, 8 Oct 2007 07:16:47 +0000 (07:16 +0000)]
expand a comment
Marko Kreen [Mon, 8 Oct 2007 07:06:41 +0000 (07:06 +0000)]
switch to toggle between LIFO and round-robin
Marko Kreen [Mon, 8 Oct 2007 06:57:58 +0000 (06:57 +0000)]
doc updates
Marko Kreen [Mon, 8 Oct 2007 06:51:24 +0000 (06:51 +0000)]
test for endianess in configure
Marko Kreen [Wed, 3 Oct 2007 12:51:45 +0000 (12:51 +0000)]
more testing
Marko Kreen [Wed, 3 Oct 2007 11:43:36 +0000 (11:43 +0000)]
pool_size doc
Marko Kreen [Wed, 3 Oct 2007 09:15:40 +0000 (09:15 +0000)]
more todo
Marko Kreen [Wed, 12 Sep 2007 09:32:49 +0000 (09:32 +0000)]
remove too paranoid fd cleanup
Marko Kreen [Wed, 12 Sep 2007 09:16:52 +0000 (09:16 +0000)]
proper login log
Marko Kreen [Wed, 12 Sep 2007 09:15:36 +0000 (09:15 +0000)]
larger SMALL_PKT
Marko Kreen [Wed, 12 Sep 2007 07:59:53 +0000 (07:59 +0000)]
fix check for authfile changes
silly typo made pgbouncer reload users list on each full_maint (3x per sec)
catched by hubert depesz lubaczewski.
Marko Kreen [Tue, 11 Sep 2007 13:58:34 +0000 (13:58 +0000)]
log disconnections on INFO level if requested
Marko Kreen [Tue, 11 Sep 2007 08:42:01 +0000 (08:42 +0000)]
tag server dirty if changing vars
Marko Kreen [Tue, 11 Sep 2007 08:41:36 +0000 (08:41 +0000)]
dont load users if auth_type=any
Marko Kreen [Fri, 7 Sep 2007 13:07:13 +0000 (13:07 +0000)]
todo update
Marko Kreen [Fri, 7 Sep 2007 12:40:15 +0000 (12:40 +0000)]
hack to use [,] in regex
Marko Kreen [Fri, 7 Sep 2007 12:25:26 +0000 (12:25 +0000)]
dont close logfile on first load
Marko Kreen [Fri, 7 Sep 2007 12:23:47 +0000 (12:23 +0000)]
code still tried to close fd, fix and clean up
Marko Kreen [Fri, 7 Sep 2007 10:51:59 +0000 (10:51 +0000)]
new libevent wants clock_gettime() in -lrt
Marko Kreen [Fri, 7 Sep 2007 08:20:59 +0000 (08:20 +0000)]
mention loglived logfd
Marko Kreen [Fri, 7 Sep 2007 08:20:04 +0000 (08:20 +0000)]
remove track_parameters knob, no good usage scenario
Marko Kreen [Fri, 7 Sep 2007 08:14:41 +0000 (08:14 +0000)]
older asciidoc prints ver into stderr
Marko Kreen [Thu, 6 Sep 2007 20:19:47 +0000 (20:19 +0000)]
long-lived logfile fd
Marko Kreen [Thu, 6 Sep 2007 19:53:10 +0000 (19:53 +0000)]
rename disable_varcache to track_parameters
Marko Kreen [Thu, 6 Sep 2007 19:29:25 +0000 (19:29 +0000)]
doc updates
- check if asciidoc & xmlto
- accept only asciidoc >= 8.2
- include generated mapages in cvs
- disable generation rules if tools are not available
- add </variablelist> hack to fixman
Marko Kreen [Fri, 31 Aug 2007 11:32:59 +0000 (11:32 +0000)]
small cleanups
Marko Kreen [Tue, 28 Aug 2007 20:54:17 +0000 (20:54 +0000)]
Change some defaults:
max_client_conn = 100
default_pool_size = 20
client_login_timeout = 60
Marko Kreen [Tue, 28 Aug 2007 20:50:22 +0000 (20:50 +0000)]
more doc updates
Marko Kreen [Tue, 28 Aug 2007 09:33:38 +0000 (09:33 +0000)]
doc update
Marko Kreen [Mon, 27 Aug 2007 21:48:12 +0000 (21:48 +0000)]
add timezone to db parms
Marko Kreen [Mon, 27 Aug 2007 21:45:00 +0000 (21:45 +0000)]
asciidoc manpages from Dimitri Fontaine.
Marko Kreen [Fri, 17 Aug 2007 21:04:20 +0000 (21:04 +0000)]
-q switch to turn off stdout usage
Marko Kreen [Fri, 17 Aug 2007 20:29:40 +0000 (20:29 +0000)]
dont Assert() on query_start=0
Marko Kreen [Thu, 16 Aug 2007 20:37:31 +0000 (20:37 +0000)]
server->setting_vars should be checked in SBUF_EV_FLUSH instead
Marko Kreen [Thu, 16 Aug 2007 07:57:00 +0000 (07:57 +0000)]
fix comments
Marko Kreen [Thu, 16 Aug 2007 07:54:57 +0000 (07:54 +0000)]
no need to use disconnect_client() as disconnect_server also notifies client
Marko Kreen [Thu, 16 Aug 2007 07:54:20 +0000 (07:54 +0000)]
make fatal_perror() really fatal
Marko Kreen [Thu, 16 Aug 2007 07:52:25 +0000 (07:52 +0000)]
correct check in incomplete_pkt()
Marko Kreen [Wed, 15 Aug 2007 13:50:06 +0000 (13:50 +0000)]
todo for 1.0.9
Marko Kreen [Wed, 15 Aug 2007 13:45:51 +0000 (13:45 +0000)]
todo for 1.1
Marko Kreen [Wed, 15 Aug 2007 13:44:07 +0000 (13:44 +0000)]
hack targets: asm, pg
Marko Kreen [Wed, 15 Aug 2007 13:40:13 +0000 (13:40 +0000)]
target HEAD as 1.1, update NEWS
Marko Kreen [Wed, 15 Aug 2007 13:20:48 +0000 (13:20 +0000)]
big pkt code reorg.
in old code the 'pkt' contained whateved data was available
from SBuf, which made sanity checks complex.
this patch creates wrapper structure for passing current packet
info around.
Marko Kreen [Mon, 13 Aug 2007 20:37:11 +0000 (20:37 +0000)]
More magic cleanup, found even couple potential bugs.
- get_header() allowed < 5 length, which could trigger unsigned overflow.
- error from server when setting parameters did not do "return false"
- broken ParameterStatus should close connection.
Again, thanks to David Fetter who pushed for cleaner code.
Marko Kreen [Mon, 13 Aug 2007 19:24:02 +0000 (19:24 +0000)]
Magic number and error message cleanup.
Thanks to David Fetter
Marko Kreen [Mon, 13 Aug 2007 15:17:43 +0000 (15:17 +0000)]
tabify functions, remove unnecessary and buggy memset
Marko Kreen [Sun, 12 Aug 2007 22:33:55 +0000 (22:33 +0000)]
disable users before loading.
otherwise removing users wont work.
Marko Kreen [Sun, 12 Aug 2007 22:14:42 +0000 (22:14 +0000)]
wrap check order in quote_literal
Marko Kreen [Sun, 12 Aug 2007 21:19:12 +0000 (21:19 +0000)]
varcache: remove overwrite arg, some logging cleanup
Marko Kreen [Sun, 12 Aug 2007 21:15:50 +0000 (21:15 +0000)]
list.h: remove max_count as it was unused, disable list name tracking
Marko Kreen [Sun, 12 Aug 2007 13:32:20 +0000 (13:32 +0000)]
add server vars to SHOW FDS, relax result parsing
Marko Kreen [Sat, 11 Aug 2007 12:29:53 +0000 (12:29 +0000)]
more robust quote_literal()
Marko Kreen [Sat, 11 Aug 2007 07:01:13 +0000 (07:01 +0000)]
comment out the recv() avoidance logic
Marko Kreen [Sat, 4 Aug 2007 21:29:24 +0000 (21:29 +0000)]
use goto instead break because of 2 loops
Marko Kreen [Sat, 4 Aug 2007 19:53:43 +0000 (19:53 +0000)]
kick client if startup pkt contains unknown params
Marko Kreen [Fri, 3 Aug 2007 22:04:56 +0000 (22:04 +0000)]
correct quoting for SET values
Marko Kreen [Fri, 3 Aug 2007 12:43:32 +0000 (12:43 +0000)]
add varcache.c to makefile also
Marko Kreen [Thu, 2 Aug 2007 11:59:19 +0000 (11:59 +0000)]
Server parameter tracking.
Marko Kreen [Thu, 2 Aug 2007 11:56:28 +0000 (11:56 +0000)]
avoid recv() if buffer has data
Marko Kreen [Wed, 1 Aug 2007 22:00:47 +0000 (22:00 +0000)]
cancel of pause/resume, dont drop idle clients
Marko Kreen [Wed, 1 Aug 2007 21:29:53 +0000 (21:29 +0000)]
small stuff
Marko Kreen [Wed, 1 Aug 2007 21:28:46 +0000 (21:28 +0000)]
server_reset_query
Marko Kreen [Wed, 1 Aug 2007 20:45:11 +0000 (20:45 +0000)]
update docs with current status
Marko Kreen [Wed, 1 Aug 2007 20:42:19 +0000 (20:42 +0000)]
When suspending, try to hit packet boundary ASAP
Marko Kreen [Wed, 1 Aug 2007 20:11:38 +0000 (20:11 +0000)]
dont force --enable-debug to be -O1
Marko Kreen [Wed, 1 Aug 2007 20:06:37 +0000 (20:06 +0000)]
remove if() before Assert(), some comment tuning
Marko Kreen [Wed, 1 Aug 2007 20:01:03 +0000 (20:01 +0000)]
log fd limits on startup
Marko Kreen [Wed, 1 Aug 2007 19:54:17 +0000 (19:54 +0000)]
replace remaining log_* calls with slog_* where appropriate
Marko Kreen [Wed, 1 Aug 2007 19:43:42 +0000 (19:43 +0000)]
use memchr() in mbuf_get_string
Marko Kreen [Mon, 23 Jul 2007 08:53:52 +0000 (08:53 +0000)]
Fix sloppy english in the comments.
Patch by Robert Gogolok.
Marko Kreen [Fri, 29 Jun 2007 15:55:34 +0000 (15:55 +0000)]
connstr enhanchements
* allow to specify hosts by name - gethostbyname()
* allow to specify custom unix socket location for db
* allow quoted values
Marko Kreen [Fri, 29 Jun 2007 15:52:35 +0000 (15:52 +0000)]
comment typo
Marko Kreen [Mon, 18 Jun 2007 12:43:30 +0000 (12:43 +0000)]
remove internal hacks from debian/packages
Marko Kreen [Mon, 18 Jun 2007 12:41:06 +0000 (12:41 +0000)]
forgot to update configure
Marko Kreen [Mon, 18 Jun 2007 12:33:54 +0000 (12:33 +0000)]
version 1.0.8
Marko Kreen [Mon, 18 Jun 2007 12:01:27 +0000 (12:01 +0000)]
update todo list
Marko Kreen [Wed, 13 Jun 2007 21:08:29 +0000 (21:08 +0000)]
pause/resume specific database
Marko Kreen [Wed, 13 Jun 2007 21:05:26 +0000 (21:05 +0000)]
simplify console command parsing
Marko Kreen [Wed, 23 May 2007 08:41:48 +0000 (08:41 +0000)]
cancel pkt handler forgot to set pool, thus crashed later
Marko Kreen [Mon, 7 May 2007 11:16:03 +0000 (11:16 +0000)]
disable expensive in-list assert check
Marko Kreen [Wed, 25 Apr 2007 11:05:14 +0000 (11:05 +0000)]
update todo list
Marko Kreen [Thu, 19 Apr 2007 14:56:28 +0000 (14:56 +0000)]
ver 1.0.7
Marko Kreen [Thu, 19 Apr 2007 14:03:55 +0000 (14:03 +0000)]
Remove concept of 'flushing' from code as bouncer does not actively buffer anything.
The flushing logic was remnant from the time when buffering was
pushed to kernel with MSG_MORE. Now it only complicates code.
Marko Kreen [Wed, 18 Apr 2007 13:46:21 +0000 (13:46 +0000)]
src/sbuf.c
Marko Kreen [Wed, 18 Apr 2007 13:03:04 +0000 (13:03 +0000)]
dont call proto if must-flush packet is pending
Marko Kreen [Wed, 18 Apr 2007 13:00:17 +0000 (13:00 +0000)]
dont flush error and notice packets, as there may be several of them
Marko Kreen [Wed, 18 Apr 2007 08:42:31 +0000 (08:42 +0000)]
Move OS compat functions to src/system.c to keep the ifdef mess separately.
Also remove crypt() wrapper, pointless.
Marko Kreen [Fri, 13 Apr 2007 12:45:54 +0000 (12:45 +0000)]
Standardise UNIX socket UID lookup to getpeeruid()
Where it does not exists use SO_PEERCRED or getpeerucred().
Marko Kreen [Fri, 13 Apr 2007 11:32:43 +0000 (11:32 +0000)]
remote bloat from strlcat
Marko Kreen [Fri, 13 Apr 2007 11:30:24 +0000 (11:30 +0000)]
strlist_contains should loop on failed compare, not exit
Marko Kreen [Thu, 12 Apr 2007 10:55:41 +0000 (10:55 +0000)]
version 1.0.6
Marko Kreen [Thu, 12 Apr 2007 10:49:59 +0000 (10:49 +0000)]
maintenance func needs always evtimer_add
Marko Kreen [Wed, 11 Apr 2007 12:44:26 +0000 (12:44 +0000)]
on FreeBSD (some others too) the ucred.h has sys/param.h as prereq
Marko Kreen [Wed, 11 Apr 2007 11:15:14 +0000 (11:15 +0000)]
version 1.0.5 - "enough for today"
* Fix online-restart bugs:
- Set ->ready for idle servers.
- Remove obsolete code from use_client_socket()
- Disable maintenance during the takeover.
Marko Kreen [Wed, 11 Apr 2007 09:24:48 +0000 (09:24 +0000)]
Version 1.0.4
* Notice from idle server tagged server dirty.
release_server() did not expect it. Fix it
by dropping them.
Marko Kreen [Wed, 11 Apr 2007 07:39:49 +0000 (07:39 +0000)]
version 1.0.3
= Fixes =
* Some error handling was missing in login path, so dying
connection there could trigger asserts.
* Cleanup of asserts in sbuf.c to catch problems earlier.
* Create core when Assert() triggers.
= New stuff =
* New config vars: log_connections, log_disconnections,
log_pooler_errors to turn on/off noise.
* Config var: client_login_timeout to kill dead connections
in login phase that could stall SUSPEND and thus online restart.
Marko Kreen [Wed, 11 Apr 2007 07:37:15 +0000 (07:37 +0000)]
more brutal testing
Marko Kreen [Wed, 28 Mar 2007 09:22:39 +0000 (09:22 +0000)]
remove old todo item
Marko Kreen [Wed, 28 Mar 2007 09:21:26 +0000 (09:21 +0000)]
Rename sbuf_has_no_state() to sbuf_is_empty()
As its used now for more than just suspending, the old does not fit anymore.