From cdf2a53e3c7254928d7523938f2223cef69779f0 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 6 Aug 2015 23:52:12 +0300 Subject: [PATCH] Fix makefile, add 'htmls' target to see rst as html --- Makefile | 7 ++++++- NEWS.rst | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 639e963..b787343 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ AM_FEATURES = libusual pgbouncer_EMBED_LIBUSUAL = 1 # docs to install as-is -dist_doc_DATA = README NEWS.rst etc/pgbouncer.ini etc/userlist.txt +dist_doc_DATA = README.rst NEWS.rst etc/pgbouncer.ini etc/userlist.txt DISTCLEANFILES = config.mak config.status lib/usual/config.h config.log @@ -151,3 +151,8 @@ tgz-up: $(tgz) tags: ctags src/*.c include/*.h lib/usual/*.[ch] +htmls: + for f in *.rst doc/*.rst; do \ + mkdir -p html && rst2html $$f > html/`basename $$f`.html; \ + done + diff --git a/NEWS.rst b/NEWS.rst index f832292..b6beea6 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -741,14 +741,19 @@ Older libevent versions crash with new restart code. syslog_facility=daemon/user/local0. * Less scary online restart (-R) + - Move FD loading before fork, so it logs to console and can be canceled by ^C + - Keep SHUTDOWN after fork, so ^C would be safe + - A connect() is attempted to unix socket to see if anyone is listening. Now -R can be used even when no previous process was running. If there is previous process, but -R is not used, startup fails. * New console commands: + - SHOW TOTALS that shows stats summary (as goes to log) plus mem usage. + - SHOW ACTIVE_SOCKETS - like show sockets; but filter only active ones. - Less visible features @@ -771,12 +776,16 @@ Older libevent versions crash with new restart code. depending on it. * Internal improvements: + - Packet buffers are allocated lazily and reused. This should bring huge decrease in memory usage. This also makes realistic to use big pktbuf with lot of connections. + - Lot's of error handling improvements, PgBouncer should now survive OOM situations gracefully. + - Use slab allocator for memory management. + - Lots of code cleanups. - Fixes -- 2.40.0