]> granicus.if.org Git - postgresql/commit
Don't count background workers against a user's connection limit.
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 1 Feb 2017 22:52:35 +0000 (17:52 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 1 Feb 2017 22:59:53 +0000 (17:59 -0500)
commit13752743bf7010f7cbf07bdf2a0087c3960121c5
treed0e44e9805b08ad31cbf6e8f295eb25fcf4cb23a
parenteb5e9d90df7536d0cf5c0d669d874f91b7be36d6
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.
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_role.sgml
src/backend/access/transam/twophase.c
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/proc.c
src/backend/utils/init/postinit.c
src/include/storage/proc.h
src/include/storage/procarray.h