]>
granicus.if.org Git - pgbouncer/log
Marko Kreen [Thu, 3 Jul 2008 13:07:28 +0000 (13:07 +0000)]
dont waste room for storing login-time salt.
Instead store it in cancel_key[], as it is used
only once, before generating the cancel_key.
Marko Kreen [Thu, 3 Jul 2008 13:01:19 +0000 (13:01 +0000)]
decrease noise from bad connections
the accepting new connection does not need to stop if bad one appears.
Marko Kreen [Fri, 27 Jun 2008 10:34:18 +0000 (10:34 +0000)]
keep mtime in tgz
Marko Kreen [Fri, 27 Jun 2008 10:33:56 +0000 (10:33 +0000)]
duplicate tagline
Marko Kreen [Thu, 26 Jun 2008 14:51:03 +0000 (14:51 +0000)]
require libevent >= 1.3b
Marko Kreen [Thu, 26 Jun 2008 14:42:49 +0000 (14:42 +0000)]
make failed tests more visible
Marko Kreen [Wed, 25 Jun 2008 18:03:20 +0000 (18:03 +0000)]
tag 1.2rc1
Marko Kreen [Wed, 25 Jun 2008 17:58:37 +0000 (17:58 +0000)]
require libevent 1.2+
Marko Kreen [Wed, 25 Jun 2008 17:39:16 +0000 (17:39 +0000)]
News for 1.2
Marko Kreen [Wed, 25 Jun 2008 17:18:12 +0000 (17:18 +0000)]
sync some doc fixes from -stable
Marko Kreen [Wed, 25 Jun 2008 17:06:34 +0000 (17:06 +0000)]
New config parameter: ignore_startup_parameters
Can be used to allow clients issue random parameters.
Mostly needed to handle JDBC extra_float_digits braindamage.
Marko Kreen [Wed, 25 Jun 2008 16:52:51 +0000 (16:52 +0000)]
New database setting: connect_query
Specifies a query to be executed after connection is established.
Original patch by Teodor Sigaev, applied with minor modifications
Marko Kreen [Wed, 25 Jun 2008 16:25:13 +0000 (16:25 +0000)]
update contributors list
Marko Kreen [Wed, 25 Jun 2008 15:07:36 +0000 (15:07 +0000)]
basename may be non-const on some systems, make cf_username static
Marko Kreen [Wed, 25 Jun 2008 15:06:22 +0000 (15:06 +0000)]
drop too clever optimizations from system.h
Marko Kreen [Wed, 25 Jun 2008 14:53:28 +0000 (14:53 +0000)]
include both pwd.h and grp.h in system.c and autoconf them
Marko Kreen [Wed, 25 Jun 2008 14:47:54 +0000 (14:47 +0000)]
Build fixes for Solaris
* Use __func__ and define it to __FUNCTION__ if not defined.
it's the C99 standard.
* Tests for certain linking libraries (libnsl, libsocket, libresolv) (configure.ac)
* Defines INADDR_NONE if not defined
* Search for <ucred.h> in addition to <sys/ucred.h> (configure.ac)
* Changes include of <sys/errno.h> to <errno.h>.
I _think_ this should be safe on all platforms (and it's the standard)
* Changes local variable name s_addr to saddr in takeover.c.
s_addr is a Single Unix Specification defined name.
* Checks if LOG_AUTHPRIV exists (it does not in Solaris)
Original patch by Magne Mæhre, applied with minor changes
Marko Kreen [Wed, 4 Jun 2008 14:22:30 +0000 (14:22 +0000)]
fix < vs <= difference between iobuf.h and sbuf.c
This might fix the problem Jacob Coby reported:
http://lists.pgfoundry.org/pipermail/pgbouncer-general/2008-March/000161.html
Marko Kreen [Wed, 4 Jun 2008 14:15:48 +0000 (14:15 +0000)]
support docdir on 2.59
Marko Kreen [Wed, 5 Mar 2008 09:44:12 +0000 (09:44 +0000)]
admin.c: allow missing iobuf
Marko Kreen [Wed, 5 Mar 2008 09:06:55 +0000 (09:06 +0000)]
asynctest: print first startup errors
Marko Kreen [Tue, 4 Mar 2008 20:48:49 +0000 (20:48 +0000)]
Add instructions on how to build from CVS.
Suggested by Jason Coby.
Marko Kreen [Tue, 4 Mar 2008 20:31:10 +0000 (20:31 +0000)]
sbuf.c: fix typo, lower priority
Marko Kreen [Tue, 4 Mar 2008 13:38:05 +0000 (13:38 +0000)]
document new -u/user= option
Marko Kreen [Tue, 4 Mar 2008 12:47:03 +0000 (12:47 +0000)]
move admin-setup after setuid, srandom() after fork()
Marko Kreen [Tue, 4 Mar 2008 12:43:34 +0000 (12:43 +0000)]
Cmdline option and config param to support user switching.
Original patch from Jason Coby, applied with minor modifications.
Marko Kreen [Tue, 4 Mar 2008 12:20:34 +0000 (12:20 +0000)]
admin.c: add file comment
Marko Kreen [Tue, 4 Mar 2008 12:09:02 +0000 (12:09 +0000)]
More descriptive usage screen.
Slightly modified from patch by Jacob Coby.
Marko Kreen [Tue, 4 Mar 2008 11:55:55 +0000 (11:55 +0000)]
detect basename() function, include small compat func if missing
Marko Kreen [Thu, 14 Feb 2008 15:25:14 +0000 (15:25 +0000)]
disable attribute hacks on older gccs
Marko Kreen [Thu, 14 Feb 2008 14:35:52 +0000 (14:35 +0000)]
convert SBuf api also to unsigned int
Marko Kreen [Thu, 14 Feb 2008 14:21:56 +0000 (14:21 +0000)]
add Wstrict-overflow to warn options
Marko Kreen [Thu, 14 Feb 2008 14:02:05 +0000 (14:02 +0000)]
make IOBuf use unsigned ints
Marko Kreen [Thu, 14 Feb 2008 13:38:52 +0000 (13:38 +0000)]
system.h + types cleanup
- use proper printf args from inttypes.h instead of casting to ull
- remove unused macros
- tag replacement functions as _mustcheck
Marko Kreen [Thu, 14 Feb 2008 13:17:21 +0000 (13:17 +0000)]
fix getsockopt argument
Marko Kreen [Thu, 24 Jan 2008 13:04:30 +0000 (13:04 +0000)]
Mark hash.c as public domain because Jenkins original code is
Marko Kreen [Thu, 24 Jan 2008 09:24:30 +0000 (09:24 +0000)]
log string truncation by strlcpy
Marko Kreen [Wed, 23 Jan 2008 16:07:51 +0000 (16:07 +0000)]
do memset in pgsocket init due to slab changes
Marko Kreen [Wed, 23 Jan 2008 11:08:00 +0000 (11:08 +0000)]
test.sh: sleep after launching nc, fix syntax
Marko Kreen [Wed, 23 Jan 2008 09:52:10 +0000 (09:52 +0000)]
simpler slab cache, with explicit init func
Marko Kreen [Wed, 23 Jan 2008 09:43:34 +0000 (09:43 +0000)]
draft lazy iobuf handling
Marko Kreen [Wed, 23 Jan 2008 09:39:26 +0000 (09:39 +0000)]
defer_accept: get_int needs reference too
Marko Kreen [Wed, 23 Jan 2008 09:37:15 +0000 (09:37 +0000)]
force list header on free
Marko Kreen [Tue, 22 Jan 2008 15:33:47 +0000 (15:33 +0000)]
server_lifetime=0 drop connection immidiately
Marko Kreen [Tue, 22 Jan 2008 15:31:06 +0000 (15:31 +0000)]
missing include file from last commit and Makefile update
Marko Kreen [Tue, 22 Jan 2008 15:30:03 +0000 (15:30 +0000)]
abstract i/o-buffer out from SBuf
the future goal is to grab buffer only for the duration of i/o
Marko Kreen [Tue, 22 Jan 2008 15:27:17 +0000 (15:27 +0000)]
tcp_defer_accept improvements.
- support freebsd accept filter
- remove user control of actual value, as its basically undocumented
- allow online setting change
Marko Kreen [Tue, 22 Jan 2008 15:21:39 +0000 (15:21 +0000)]
fix inconsistent indenting
Marko Kreen [Fri, 18 Jan 2008 07:44:11 +0000 (07:44 +0000)]
move ->admin flag from pool to db
Marko Kreen [Fri, 18 Jan 2008 07:35:28 +0000 (07:35 +0000)]
better comments on structs
Marko Kreen [Fri, 18 Jan 2008 07:03:37 +0000 (07:03 +0000)]
tag few functions with const
Marko Kreen [Fri, 18 Jan 2008 06:59:55 +0000 (06:59 +0000)]
remove unnecessary warning
Marko Kreen [Sat, 12 Jan 2008 17:34:29 +0000 (17:34 +0000)]
fscking type problems
Marko Kreen [Sat, 12 Jan 2008 17:33:39 +0000 (17:33 +0000)]
skip manpage build if tools not availalbe
Marko Kreen [Fri, 11 Jan 2008 22:36:01 +0000 (22:36 +0000)]
SHOW MEM cmd to describe slab usage
Marko Kreen [Fri, 11 Jan 2008 22:11:59 +0000 (22:11 +0000)]
todo update
Marko Kreen [Fri, 11 Jan 2008 22:10:37 +0000 (22:10 +0000)]
show active_sockets;
Marko Kreen [Fri, 11 Jan 2008 21:52:00 +0000 (21:52 +0000)]
move db/user/pool alloc also to slabs
Marko Kreen [Fri, 11 Jan 2008 21:50:07 +0000 (21:50 +0000)]
slab: if constructor is not given, memset on alloc
Marko Kreen [Fri, 11 Jan 2008 21:25:07 +0000 (21:25 +0000)]
additional log server login failure
Marko Kreen [Fri, 11 Jan 2008 21:23:18 +0000 (21:23 +0000)]
actively kill databases removed from config
Marko Kreen [Fri, 11 Jan 2008 20:51:22 +0000 (20:51 +0000)]
iniparser: return whether file was found
Marko Kreen [Fri, 11 Jan 2008 20:48:48 +0000 (20:48 +0000)]
disconnect_client: ignore notify=true if state=CL_CANCEL
Marko Kreen [Fri, 11 Jan 2008 14:20:11 +0000 (14:20 +0000)]
SHOW TOTALS command to give stats summary
Marko Kreen [Fri, 11 Jan 2008 14:18:44 +0000 (14:18 +0000)]
if cannot login to target db at all, notify clients (by killing them)
Marko Kreen [Fri, 11 Jan 2008 13:24:59 +0000 (13:24 +0000)]
more gcc warnings
Marko Kreen [Fri, 11 Jan 2008 13:22:49 +0000 (13:22 +0000)]
make failure from event_del() non-fatal
- pgsocket: keep open sbufs in justfree lists, retry close later
- pooler: keep track socket states, retry in per-loop main function
Marko Kreen [Wed, 9 Jan 2008 13:42:47 +0000 (13:42 +0000)]
suspend_timeout, to force suspend
Marko Kreen [Wed, 9 Jan 2008 09:28:59 +0000 (09:28 +0000)]
todo update
Marko Kreen [Wed, 9 Jan 2008 09:05:44 +0000 (09:05 +0000)]
move shutdown after fork(), detect old bouncer
Marko Kreen [Tue, 8 Jan 2008 14:23:25 +0000 (14:23 +0000)]
remove unnecessary label
Marko Kreen [Tue, 8 Jan 2008 14:21:47 +0000 (14:21 +0000)]
update scary-R todo
Marko Kreen [Tue, 8 Jan 2008 14:15:58 +0000 (14:15 +0000)]
asynctest: small cleanup
Marko Kreen [Tue, 8 Jan 2008 14:13:25 +0000 (14:13 +0000)]
less scary -R: move takever before fork
Marko Kreen [Tue, 8 Jan 2008 09:47:38 +0000 (09:47 +0000)]
asynctest: more features
Marko Kreen [Tue, 8 Jan 2008 09:44:29 +0000 (09:44 +0000)]
move usec_t to system.h
Marko Kreen [Tue, 8 Jan 2008 07:57:22 +0000 (07:57 +0000)]
return correct value
Marko Kreen [Mon, 7 Jan 2008 21:16:04 +0000 (21:16 +0000)]
draft throttling implementation
Marko Kreen [Mon, 7 Jan 2008 14:50:15 +0000 (14:50 +0000)]
more debugging for asynctest
Marko Kreen [Mon, 7 Jan 2008 10:01:16 +0000 (10:01 +0000)]
use autoconfed settings for test code
Marko Kreen [Mon, 7 Jan 2008 09:13:23 +0000 (09:13 +0000)]
todo update
Marko Kreen [Mon, 7 Jan 2008 09:02:09 +0000 (09:02 +0000)]
safe_accept, safe_connect, safe_evtimer_add
Marko Kreen [Mon, 7 Jan 2008 09:00:14 +0000 (09:00 +0000)]
fix some printf casts
Marko Kreen [Mon, 7 Jan 2008 08:40:17 +0000 (08:40 +0000)]
more universal asynctest
Marko Kreen [Fri, 4 Jan 2008 12:56:41 +0000 (12:56 +0000)]
dont avoid maint if event loop is interrupted
Marko Kreen [Fri, 4 Jan 2008 12:56:06 +0000 (12:56 +0000)]
with as-needed the lib order is important
Marko Kreen [Fri, 4 Jan 2008 09:12:54 +0000 (09:12 +0000)]
handle EINTR from connect()
Marko Kreen [Fri, 4 Jan 2008 08:55:17 +0000 (08:55 +0000)]
handle more errors from accept()
Marko Kreen [Fri, 4 Jan 2008 07:57:01 +0000 (07:57 +0000)]
proper usage of flexible array
Marko Kreen [Thu, 3 Jan 2008 21:42:31 +0000 (21:42 +0000)]
looping accept() to drain backlog fully
Marko Kreen [Thu, 3 Jan 2008 10:03:53 +0000 (10:03 +0000)]
suspend in finish_client_login wont work as current packet is still in sbuf
Marko Kreen [Thu, 3 Jan 2008 09:40:48 +0000 (09:40 +0000)]
pkt_action conversion broke assert
Marko Kreen [Thu, 3 Jan 2008 09:05:10 +0000 (09:05 +0000)]
allow autoconf 2.59
Marko Kreen [Wed, 2 Jan 2008 20:03:59 +0000 (20:03 +0000)]
let make clean work even if config.mak does not exist
Marko Kreen [Wed, 2 Jan 2008 15:35:50 +0000 (15:35 +0000)]
error checks for all libevent calls
try to survive errors delicately, by dropping connection where possible.
Thats not yet possible for event_del() and evtimer_add(), exit immidiately then.
Marko Kreen [Wed, 2 Jan 2008 09:50:16 +0000 (09:50 +0000)]
use gcc attributes to uncover few correctness bugs
Marko Kreen [Wed, 2 Jan 2008 09:48:02 +0000 (09:48 +0000)]
explicit strcmp result check
Marko Kreen [Thu, 20 Dec 2007 14:37:39 +0000 (14:37 +0000)]
todo update: new states
Marko Kreen [Wed, 19 Dec 2007 13:22:36 +0000 (13:22 +0000)]
partial support for builddir != srcdir
Marko Kreen [Wed, 19 Dec 2007 12:40:58 +0000 (12:40 +0000)]
remove direct sparse usage, rather use cgcc