[COMMITTERS] pgsql: Don't count background workers against a user's connectionlimit

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема [COMMITTERS] pgsql: Don't count background workers against a user's connectionlimit
Дата
Msg-id E1cZ3tG-0005Jj-MN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't count background workers against a user's connection limit.

Doing so doesn't seem to be within the purpose of the per user
connection limits, and has particularly unfortunate effects in
conjunction with parallel queries.

Backpatch to 9.6 where parallel queries were introduced.

David Rowley, reviewed by Robert Haas and Albe Laurenz.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/13752743bf7010f7cbf07bdf2a0087c3960121c5

Modified Files
--------------
doc/src/sgml/ref/create_database.sgml |  3 ++-
doc/src/sgml/ref/create_role.sgml     |  5 ++++-
src/backend/access/transam/twophase.c |  1 +
src/backend/storage/ipc/procarray.c   | 34 ++++++++++++++++++++++++++++++++++
src/backend/storage/lmgr/proc.c       |  2 ++
src/backend/utils/init/postinit.c     |  2 +-
src/include/storage/proc.h            |  2 ++
src/include/storage/procarray.h       |  1 +
8 files changed, 47 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix CatalogTupleInsert/Update abstraction for case of sharedind
Следующее
От: Andrew Dunstan
Дата:
Сообщение: [COMMITTERS] pgsql: Don't count background workers against a user's connectionlimit