]> granicus.if.org Git - pgbouncer/commitdiff
Fix makefile, add 'htmls' target to see rst as html
authorMarko Kreen <markokr@gmail.com>
Thu, 6 Aug 2015 20:52:12 +0000 (23:52 +0300)
committerMarko Kreen <markokr@gmail.com>
Thu, 6 Aug 2015 20:52:12 +0000 (23:52 +0300)
Makefile
NEWS.rst

index 639e963af64dee62c22a71ac5619429ba98fe7f0..b787343352a62143fc1ffcbfce5d83cc30bcbf8a 100644 (file)
--- 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
+
index f8322924b3a10cf6def7cb35c375e0b8779e854c..b6beea6f70e315e198ad3043e1434d9eda2a8914 100644 (file)
--- 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