pgsql-server/src backend/postmaster/postmaster ...

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql-server/src backend/postmaster/postmaster ...
Дата
Msg-id 20020829210212.BD04C4767C4@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@postgresql.org    02/08/29 17:02:12

Modified files:
    src/backend/postmaster: postmaster.c
    src/backend/storage/ipc: sinval.c sinvaladt.c
    src/backend/utils/init: postinit.c
    src/backend/utils/misc: guc.c postgresql.conf.sample
    src/include    : miscadmin.h
    src/include/storage: sinval.h sinvaladt.h

Log message:
    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


В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql-server/contrib/tsearch README.tsearch
Следующее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql-server/src/backend/libpq auth.c