pgbouncer.git
17 years agoFix Jacob Coby's name pgbouncer_1_1_stable
Marko Kreen [Wed, 25 Jun 2008 16:24:41 +0000 (16:24 +0000)]
Fix Jacob Coby's name

17 years agomove authfile section to config.txt
Marko Kreen [Thu, 5 Jun 2008 09:30:33 +0000 (09:30 +0000)]
move authfile section to config.txt

17 years agoautoconf 2.59 compat hacks from HEAD
Marko Kreen [Thu, 5 Jun 2008 09:28:23 +0000 (09:28 +0000)]
autoconf 2.59 compat hacks from HEAD

17 years agoset version to 1.1.3rc1
Marko Kreen [Wed, 9 Apr 2008 15:23:41 +0000 (15:23 +0000)]
set version to 1.1.3rc1

17 years agoupdate AUTHORS
Marko Kreen [Wed, 9 Apr 2008 15:20:37 +0000 (15:20 +0000)]
update AUTHORS

17 years agorefresh generated manpages
Marko Kreen [Wed, 9 Apr 2008 15:20:18 +0000 (15:20 +0000)]
refresh generated manpages

17 years agoMore descriptive usage screen.
Marko Kreen [Wed, 9 Apr 2008 14:47:30 +0000 (14:47 +0000)]
More descriptive usage screen.

Original patch by Jacob Coby.

17 years agoCmdline option and config param to support user switching.
Marko Kreen [Wed, 9 Apr 2008 14:24:35 +0000 (14:24 +0000)]
Cmdline option and config param to support user switching.

Original patch from Jason Coby, applied with minor modifications.

17 years agoignore_startup_parameters config variable.
Marko Kreen [Wed, 9 Apr 2008 13:58:38 +0000 (13:58 +0000)]
ignore_startup_parameters config variable.

17 years agoserver_lifetime=0 drop connection immidiately
Marko Kreen [Tue, 22 Jan 2008 15:32:50 +0000 (15:32 +0000)]
server_lifetime=0 drop connection immidiately

17 years agohandle EINTR from connect()
Marko Kreen [Fri, 4 Jan 2008 09:13:05 +0000 (09:13 +0000)]
handle EINTR from connect()

17 years agohandle more errors from accept()
Marko Kreen [Fri, 4 Jan 2008 08:55:28 +0000 (08:55 +0000)]
handle more errors from accept()

17 years agolooping accept() to drain backlog fully
Marko Kreen [Thu, 3 Jan 2008 21:42:55 +0000 (21:42 +0000)]
looping accept() to drain backlog fully

17 years agokeep sanity in unconfigured tree
Marko Kreen [Wed, 2 Jan 2008 20:15:25 +0000 (20:15 +0000)]
keep sanity in unconfigured tree

17 years agoversion 1.1.2 pgbouncer_1_1_2
Marko Kreen [Mon, 10 Dec 2007 08:04:59 +0000 (08:04 +0000)]
version 1.1.2

17 years agoreorder SBuf fields to get better alignment for buffer
Marko Kreen [Fri, 7 Dec 2007 14:45:28 +0000 (14:45 +0000)]
reorder SBuf fields to get better alignment for buffer

17 years agoprint connection age in disconnect message
Marko Kreen [Mon, 3 Dec 2007 13:11:33 +0000 (13:11 +0000)]
print connection age in disconnect message

17 years agorelease 1.1.2rc1
Marko Kreen [Fri, 23 Nov 2007 11:14:20 +0000 (11:14 +0000)]
release 1.1.2rc1

17 years agosync docs with HEAD
Marko Kreen [Fri, 23 Nov 2007 10:43:11 +0000 (10:43 +0000)]
sync docs with HEAD

17 years agoseparate disconnects from each other to avoid reconnect flood
Marko Kreen [Wed, 21 Nov 2007 15:20:45 +0000 (15:20 +0000)]
separate disconnects from each other to avoid reconnect flood

requested by Simon Riggs

17 years agodont warn if server param unset, just apply client one
Marko Kreen [Tue, 20 Nov 2007 09:18:04 +0000 (09:18 +0000)]
dont warn if server param unset, just apply client one

17 years agoparam value can be NULL during restart from 1.0.8
Marko Kreen [Tue, 20 Nov 2007 08:34:01 +0000 (08:34 +0000)]
param value can be NULL during restart from 1.0.8

17 years agoremove unnecessary fill_*_addr logging
Marko Kreen [Mon, 19 Nov 2007 14:16:20 +0000 (14:16 +0000)]
remove unnecessary fill_*_addr logging

17 years agoversion 1.1.1 pgbouncer_1_1_1
Marko Kreen [Fri, 26 Oct 2007 11:35:28 +0000 (11:35 +0000)]
version 1.1.1

17 years agoversion 1.1.1rc1
Marko Kreen [Thu, 18 Oct 2007 14:12:01 +0000 (14:12 +0000)]
version 1.1.1rc1

17 years agodoc and makefile fixed from HEAD
Marko Kreen [Thu, 18 Oct 2007 14:04:03 +0000 (14:04 +0000)]
doc and makefile fixed from HEAD

17 years agomerge fixes from HEAD
Marko Kreen [Thu, 18 Oct 2007 12:56:50 +0000 (12:56 +0000)]
merge fixes from HEAD

17 years agosanity check before trying to set parameters
Marko Kreen [Thu, 18 Oct 2007 12:19:11 +0000 (12:19 +0000)]
sanity check before trying to set parameters

17 years agoMake sure server->vars is always initialized.
Marko Kreen [Thu, 18 Oct 2007 12:18:27 +0000 (12:18 +0000)]
Make sure server->vars is always initialized.

17 years agobump ver to 1.1.1
Marko Kreen [Mon, 15 Oct 2007 14:54:29 +0000 (14:54 +0000)]
bump ver to 1.1.1

17 years agoforgot to put fixman.py into tgz
Marko Kreen [Mon, 15 Oct 2007 14:50:04 +0000 (14:50 +0000)]
forgot to put fixman.py into tgz

17 years agoDisable init.d script, add as example. pgbouncer_1_1
Marko Kreen [Tue, 9 Oct 2007 08:56:41 +0000 (08:56 +0000)]
Disable init.d script, add as example.

Pgbouncer does not have enough infra yet to run
as boot-up daemon (chroot, setuid, etc)

Postponed after 1.1.

17 years agoAdd init.d script to debian package.
Marko Kreen [Tue, 9 Oct 2007 08:37:12 +0000 (08:37 +0000)]
Add init.d script to debian package.

By Dimitri Fontaine

17 years agoinclude tests in final tgz
Marko Kreen [Tue, 9 Oct 2007 08:17:23 +0000 (08:17 +0000)]
include tests in final tgz

17 years agoupdate NEWS for 1.1
Marko Kreen [Tue, 9 Oct 2007 08:16:56 +0000 (08:16 +0000)]
update NEWS for 1.1

17 years agomore doc update
Marko Kreen [Tue, 9 Oct 2007 08:01:03 +0000 (08:01 +0000)]
more doc update

17 years agorename docs in dist target also
Marko Kreen [Mon, 8 Oct 2007 10:09:57 +0000 (10:09 +0000)]
rename docs in dist target also

17 years agorevert back to old doc names
Marko Kreen [Mon, 8 Oct 2007 10:06:02 +0000 (10:06 +0000)]
revert back to old doc names

17 years agoShow local address in SHOW CLIENTS/SERVERS/SOCKETS;
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;

17 years agoexpand a comment
Marko Kreen [Mon, 8 Oct 2007 07:16:47 +0000 (07:16 +0000)]
expand a comment

17 years agoswitch to toggle between LIFO and round-robin
Marko Kreen [Mon, 8 Oct 2007 07:06:41 +0000 (07:06 +0000)]
switch to toggle between LIFO and round-robin

17 years agodoc updates
Marko Kreen [Mon, 8 Oct 2007 06:57:58 +0000 (06:57 +0000)]
doc updates

17 years agotest for endianess in configure
Marko Kreen [Mon, 8 Oct 2007 06:51:24 +0000 (06:51 +0000)]
test for endianess in configure

17 years agomore testing
Marko Kreen [Wed, 3 Oct 2007 12:51:45 +0000 (12:51 +0000)]
more testing

17 years agopool_size doc
Marko Kreen [Wed, 3 Oct 2007 11:43:36 +0000 (11:43 +0000)]
pool_size doc

17 years agomore todo
Marko Kreen [Wed, 3 Oct 2007 09:15:40 +0000 (09:15 +0000)]
more todo

18 years agoremove too paranoid fd cleanup
Marko Kreen [Wed, 12 Sep 2007 09:32:49 +0000 (09:32 +0000)]
remove too paranoid fd cleanup

18 years agoproper login log
Marko Kreen [Wed, 12 Sep 2007 09:16:52 +0000 (09:16 +0000)]
proper login log

18 years agolarger SMALL_PKT
Marko Kreen [Wed, 12 Sep 2007 09:15:36 +0000 (09:15 +0000)]
larger SMALL_PKT

18 years agofix check for authfile changes
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.

18 years agolog disconnections on INFO level if requested
Marko Kreen [Tue, 11 Sep 2007 13:58:34 +0000 (13:58 +0000)]
log disconnections on INFO level if requested

18 years agotag server dirty if changing vars
Marko Kreen [Tue, 11 Sep 2007 08:42:01 +0000 (08:42 +0000)]
tag server dirty if changing vars

18 years agodont load users if auth_type=any
Marko Kreen [Tue, 11 Sep 2007 08:41:36 +0000 (08:41 +0000)]
dont load users if auth_type=any

18 years agotodo update
Marko Kreen [Fri, 7 Sep 2007 13:07:13 +0000 (13:07 +0000)]
todo update

18 years agohack to use [,] in regex
Marko Kreen [Fri, 7 Sep 2007 12:40:15 +0000 (12:40 +0000)]
hack to use [,] in regex

18 years agodont close logfile on first load
Marko Kreen [Fri, 7 Sep 2007 12:25:26 +0000 (12:25 +0000)]
dont close logfile on first load

18 years agocode still tried to close fd, fix and clean up
Marko Kreen [Fri, 7 Sep 2007 12:23:47 +0000 (12:23 +0000)]
code still tried to close fd, fix and clean up

18 years agonew libevent wants clock_gettime() in -lrt
Marko Kreen [Fri, 7 Sep 2007 10:51:59 +0000 (10:51 +0000)]
new libevent wants clock_gettime() in -lrt

18 years agomention loglived logfd
Marko Kreen [Fri, 7 Sep 2007 08:20:59 +0000 (08:20 +0000)]
mention loglived logfd

18 years agoremove track_parameters knob, no good usage scenario
Marko Kreen [Fri, 7 Sep 2007 08:20:04 +0000 (08:20 +0000)]
remove track_parameters knob, no good usage scenario

18 years agoolder asciidoc prints ver into stderr
Marko Kreen [Fri, 7 Sep 2007 08:14:41 +0000 (08:14 +0000)]
older asciidoc prints ver into stderr

18 years agolong-lived logfile fd
Marko Kreen [Thu, 6 Sep 2007 20:19:47 +0000 (20:19 +0000)]
long-lived logfile fd

18 years agorename disable_varcache to track_parameters
Marko Kreen [Thu, 6 Sep 2007 19:53:10 +0000 (19:53 +0000)]
rename disable_varcache to track_parameters

18 years agodoc updates
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

18 years agosmall cleanups
Marko Kreen [Fri, 31 Aug 2007 11:32:59 +0000 (11:32 +0000)]
small cleanups

18 years agoChange some defaults:
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

18 years agomore doc updates
Marko Kreen [Tue, 28 Aug 2007 20:50:22 +0000 (20:50 +0000)]
more doc updates

18 years agodoc update
Marko Kreen [Tue, 28 Aug 2007 09:33:38 +0000 (09:33 +0000)]
doc update

18 years agoadd timezone to db parms
Marko Kreen [Mon, 27 Aug 2007 21:48:12 +0000 (21:48 +0000)]
add timezone to db parms

18 years agoasciidoc manpages from Dimitri Fontaine.
Marko Kreen [Mon, 27 Aug 2007 21:45:00 +0000 (21:45 +0000)]
asciidoc manpages from Dimitri Fontaine.

18 years ago-q switch to turn off stdout usage
Marko Kreen [Fri, 17 Aug 2007 21:04:20 +0000 (21:04 +0000)]
-q switch to turn off stdout usage

18 years agodont Assert() on query_start=0
Marko Kreen [Fri, 17 Aug 2007 20:29:40 +0000 (20:29 +0000)]
dont Assert() on query_start=0

18 years agoserver->setting_vars should be checked in SBUF_EV_FLUSH instead
Marko Kreen [Thu, 16 Aug 2007 20:37:31 +0000 (20:37 +0000)]
server->setting_vars should be checked in SBUF_EV_FLUSH instead

18 years agofix comments
Marko Kreen [Thu, 16 Aug 2007 07:57:00 +0000 (07:57 +0000)]
fix comments

18 years agono need to use disconnect_client() as disconnect_server also notifies client
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

18 years agomake fatal_perror() really fatal
Marko Kreen [Thu, 16 Aug 2007 07:54:20 +0000 (07:54 +0000)]
make fatal_perror() really fatal

18 years agocorrect check in incomplete_pkt()
Marko Kreen [Thu, 16 Aug 2007 07:52:25 +0000 (07:52 +0000)]
correct check in incomplete_pkt()

18 years agotodo for 1.0.9
Marko Kreen [Wed, 15 Aug 2007 13:50:06 +0000 (13:50 +0000)]
todo for 1.0.9

18 years agotodo for 1.1
Marko Kreen [Wed, 15 Aug 2007 13:45:51 +0000 (13:45 +0000)]
todo for 1.1

18 years agohack targets: asm, pg
Marko Kreen [Wed, 15 Aug 2007 13:44:07 +0000 (13:44 +0000)]
hack targets: asm, pg

18 years agotarget HEAD as 1.1, update NEWS
Marko Kreen [Wed, 15 Aug 2007 13:40:13 +0000 (13:40 +0000)]
target HEAD as 1.1, update NEWS

18 years agobig pkt code reorg.
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.

18 years agoMore magic cleanup, found even couple potential bugs.
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.

18 years agoMagic number and error message cleanup.
Marko Kreen [Mon, 13 Aug 2007 19:24:02 +0000 (19:24 +0000)]
Magic number and error message cleanup.

Thanks to David Fetter

18 years agotabify functions, remove unnecessary and buggy memset
Marko Kreen [Mon, 13 Aug 2007 15:17:43 +0000 (15:17 +0000)]
tabify functions, remove unnecessary and buggy memset

18 years agodisable users before loading.
Marko Kreen [Sun, 12 Aug 2007 22:33:55 +0000 (22:33 +0000)]
disable users before loading.

otherwise removing users wont work.

18 years agowrap check order in quote_literal
Marko Kreen [Sun, 12 Aug 2007 22:14:42 +0000 (22:14 +0000)]
wrap check order in quote_literal

18 years agovarcache: remove overwrite arg, some logging cleanup
Marko Kreen [Sun, 12 Aug 2007 21:19:12 +0000 (21:19 +0000)]
varcache: remove overwrite arg, some logging cleanup

18 years agolist.h: remove max_count as it was unused, disable list name tracking
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

18 years agoadd server vars to SHOW FDS, relax result parsing
Marko Kreen [Sun, 12 Aug 2007 13:32:20 +0000 (13:32 +0000)]
add server vars to SHOW FDS, relax result parsing

18 years agomore robust quote_literal()
Marko Kreen [Sat, 11 Aug 2007 12:29:53 +0000 (12:29 +0000)]
more robust quote_literal()

18 years agocomment out the recv() avoidance logic
Marko Kreen [Sat, 11 Aug 2007 07:01:13 +0000 (07:01 +0000)]
comment out the recv() avoidance logic

18 years agouse goto instead break because of 2 loops
Marko Kreen [Sat, 4 Aug 2007 21:29:24 +0000 (21:29 +0000)]
use goto instead break because of 2 loops

18 years agokick client if startup pkt contains unknown params
Marko Kreen [Sat, 4 Aug 2007 19:53:43 +0000 (19:53 +0000)]
kick client if startup pkt contains unknown params

18 years agocorrect quoting for SET values
Marko Kreen [Fri, 3 Aug 2007 22:04:56 +0000 (22:04 +0000)]
correct quoting for SET values

18 years agoadd varcache.c to makefile also
Marko Kreen [Fri, 3 Aug 2007 12:43:32 +0000 (12:43 +0000)]
add varcache.c to makefile also

18 years agoServer parameter tracking.
Marko Kreen [Thu, 2 Aug 2007 11:59:19 +0000 (11:59 +0000)]
Server parameter tracking.

18 years agoavoid recv() if buffer has data
Marko Kreen [Thu, 2 Aug 2007 11:56:28 +0000 (11:56 +0000)]
avoid recv() if buffer has data

18 years agocancel of pause/resume, dont drop idle clients
Marko Kreen [Wed, 1 Aug 2007 22:00:47 +0000 (22:00 +0000)]
cancel of pause/resume, dont drop idle clients

18 years agosmall stuff
Marko Kreen [Wed, 1 Aug 2007 21:29:53 +0000 (21:29 +0000)]
small stuff