Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3FAF6476106 for ; Wed, 20 Nov 2002 13:37:13 -0500 (EST) Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by postgresql.org (Postfix) with ESMTP id 7ABDF4760EC for ; Wed, 20 Nov 2002 13:37:12 -0500 (EST) Received: from tokyo.samurai.com (DU150.N224.ResNet.QueensU.CA [130.15.224.150]) by bob.samurai.com (Postfix) with ESMTP id AD1801F59; Wed, 20 Nov 2002 13:37:08 -0500 (EST) To: Francisco Reyes Cc: pgsql General List Subject: Re: Closing inactive connections OR user connections limits References: <20021120133345.A30106-100000@zoraida.natserv.net> From: Neil Conway In-Reply-To: <20021120133345.A30106-100000@zoraida.natserv.net> Date: 20 Nov 2002 13:36:59 -0500 Message-ID: <878yzo5bqs.fsf@mailbox.samurai.com> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/860 X-Sequence-Number: 33281 --=-=-= Francisco Reyes writes: > But wouldn't "vacuum full" still fail? Not if the connection is made to the database as the PostgreSQL superuser. > Also where can I read about these new 7.3 options? Heh, no where at the moment, as there wasn't isn't any documentation on this new feature :-) Attached is a patch that adds some (also sent to -patches). Cheers, Neil -- Neil Conway || PGP Key ID: DB3C29FC --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=reserved_conn_docs-1.patch Index: doc/src/sgml/runtime.sgml =================================================================== RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/runtime.sgml,v retrieving revision 1.156 diff -c -r1.156 runtime.sgml *** doc/src/sgml/runtime.sgml 15 Nov 2002 03:22:30 -0000 1.156 --- doc/src/sgml/runtime.sgml 20 Nov 2002 18:18:01 -0000 *************** *** 1642,1647 **** --- 1642,1670 ---- + SUPERUSER_RESERVED_CONNECTIONS + (integer) + + + Determines the number of connection slots that + are reserved for connections by the PostgreSQL + superuser. The maximum number of concurrent connections that + can be made from any user account is + max_connections minus + superuser_reserved_connections; beyond that + point, any additional connections from non-superuser accounts + are refused. + + + + The default value is 2. This must be at least as large as the + value of max_connections. This parameter + can only be set at server start. + + + + + MAX_EXPR_DEPTH (integer) *************** *** 2941,2964 **** ! With SSL support compiled in, the PostgreSQL server ! can be started with SSL support by setting the parameter ! ssl to on in ! postgresql.conf. When starting in SSL mode, ! the server will look for the files server.key and ! server.crt in the data directory. These files should ! contain the server private key and certificate respectively. These ! files must be set up correctly before an SSL-enabled server can ! start. If the private key is protected with a passphrase, the ! server will prompt for the passphrase and will not start until it ! has been entered. ! The server will listen for both standard and SSL connections on the ! same TCP/IP port, and will negotiate with any connecting client on ! whether to use SSL. See about ! how to force the server to only use of SSL for certain connections. --- 2964,2988 ---- ! With SSL support compiled in, the ! PostgreSQL server can be started with ! SSL support by setting the parameter ! ssl to on in postgresql.conf. When ! starting in SSL mode, the server will look for the ! files server.key and server.crt in the ! data directory. These files should contain the server private key ! and certificate respectively. These files must be set up correctly ! before an SSL-enabled server can start. If the private key is ! protected with a passphrase, the server will prompt for the ! passphrase and will not start until it has been entered. ! The server will listen for both standard and SSL ! connections on the same TCP/IP port, and will negotiate with any ! connecting client on whether to use SSL. See about how to force the server to ! only use of SSL for certain connections. --=-=-=--