postgresql/src/include
Bruce Momjian 626eca697c This patch reserves the last superuser_reserved_connections slots for
connections by the superuser only.

This patch replaces the last patch I sent a couple of days ago.

It closes a connection that has not been authorised by a superuser if it would
leave less than the GUC variable ReservedBackends
(superuser_reserved_connections in postgres.conf) backend process slots free
in the SISeg. This differs to the first patch which only reserved the last
ReservedBackends slots in the procState array. This has made the free slot
test more expensive due to the use of a lock.

After thinking about a comment on the first patch I've also made it a fatal
error if the number of reserved slots is not less than the maximum number of
connections.

Nigel J. Andrews
2002-08-29 21:02:12 +00:00
..
access Clean up comments to be careful about the distinction between variable- 2002-08-25 17:20:01 +00:00
bootstrap Update copyright to 2002. 2002-06-20 20:29:54 +00:00
catalog Produce a somewhat-useful error message, namely 2002-08-29 04:38:04 +00:00
commands PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing 2002-08-27 04:55:12 +00:00
executor Code review for standalone composite types, query-specified composite 2002-08-29 00:17:06 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Remove support for version-0 FE/BE protocol, per pghackers discussion. 2002-08-29 03:22:01 +00:00
mb Add Cyrillic and other encodings for encoding conversion. 2002-08-14 02:45:10 +00:00
nodes Code review for standalone composite types, query-specified composite 2002-08-29 00:17:06 +00:00
optimizer Push down outer qualification clauses into UNION and INTERSECT subqueries. 2002-08-29 16:03:49 +00:00
parser PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing 2002-08-27 04:55:12 +00:00
port Not needed anymore. 2002-05-05 16:47:09 +00:00
regex Remove #ifdef MULTIBYTE per hackers list discussion. 2002-08-29 07:22:30 +00:00
rewrite The attached patch (against HEAD) implements 2002-07-18 04:43:51 +00:00
storage This patch reserves the last superuser_reserved_connections slots for 2002-08-29 21:02:12 +00:00
tcop Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils Remove #ifdef MULTIBYTE per hackers list discussion. 2002-08-29 07:22:30 +00:00
c.h Clean up comments to be careful about the distinction between variable- 2002-08-25 17:20:01 +00:00
fmgr.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
funcapi.h Adjust nodeFunctionscan.c to reset transient memory context between calls 2002-08-29 17:14:33 +00:00
Makefile Include directory rearrangement 2001-08-28 14:20:28 +00:00
miscadmin.h This patch reserves the last superuser_reserved_connections slots for 2002-08-29 21:02:12 +00:00
pg_config.h.in Remove MULTIBYTE 2002-08-29 08:03:22 +00:00
pg_config.h.win32 I'm at the win32 error messages once more. The DLL load thingy doesn't 2002-04-24 02:26:06 +00:00
pgstat.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
postgres.h Clean up comments to be careful about the distinction between variable- 2002-08-25 17:20:01 +00:00
postgres_ext.h Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers. 2002-08-13 20:40:44 +00:00
postgres_fe.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
rusagestub.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00