pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Francisco Reyes <lists@natserv.com>
Cc: pgsql General List <pgsql-general@postgresql.org>
Subject: Re: Closing inactive connections OR user connections limits
Date: 20 Nov 2002 13:36:59 -0500
Message-ID: <878yzo5bqs.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <20021120133345.A30106-100000@zoraida.natserv.net>
References: <20021120133345.A30106-100000@zoraida.natserv.net>

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 <neilc@samurai.com> || PGP Key ID: DB3C29FC

Attachments:

reserved_conn_docs-1.patch (text/x-patch, 3.6K) download 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 ---- </varlistentry> <varlistentry> + <term><varname>SUPERUSER_RESERVED_CONNECTIONS</varname> + (<type>integer</type>)</term> + <listitem> + <para> + Determines the number of <quote>connection slots</quote> that + are reserved for connections by the <productname>PostgreSQL</> + superuser. The maximum number of concurrent connections that + can be made from any user account is + <varname>max_connections</> minus + <varname>superuser_reserved_connections</varname>; beyond that + point, any additional connections from non-superuser accounts + are refused. + </para> + + <para> + The default value is 2. This must be at least as large as the + value of <varname>max_connections</varname>. This parameter + can only be set at server start. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><varname>MAX_EXPR_DEPTH</varname> (<type>integer</type>)</term> <listitem> <para> *************** *** 2941,2964 **** </para> <para> ! With SSL support compiled in, the <productname>PostgreSQL</> server ! can be started with SSL support by setting the parameter ! <varname>ssl</varname> to on in ! <filename>postgresql.conf</filename>. When starting in SSL mode, ! the server will look for the files <filename>server.key</> and ! <filename>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. </para> <para> ! 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 <xref linkend="client-authentication"> about ! how to force the server to only use of SSL for certain connections. </para> <para> --- 2964,2988 ---- </para> <para> ! With <acronym>SSL</> support compiled in, the ! <productname>PostgreSQL</> server can be started with ! <acronym>SSL</> support by setting the parameter ! <varname>ssl</varname> to on in <filename>postgresql.conf</>. When ! starting in <acronym>SSL</> mode, the server will look for the ! files <filename>server.key</> and <filename>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 <acronym>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. </para> <para> ! The server will listen for both standard and <acronym>SSL</> ! connections on the same TCP/IP port, and will negotiate with any ! connecting client on whether to use <acronym>SSL</>. See <xref ! linkend="client-authentication"> about how to force the server to ! only use of <acronym>SSL</> for certain connections. </para> <para>

view thread (20+ messages)  latest in thread

Message-ID: <878yzo5bqs.fsf@mailbox.samurai.com>
Permalink:  ../878yzo5bqs.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/878yzo5bqs.fsf@mailbox.samurai.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: neilc@samurai.com, lists@natserv.com, pgsql-general@postgresql.org
  Subject: Re: Closing inactive connections OR user connections limits
  In-Reply-To: <878yzo5bqs.fsf@mailbox.samurai.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox