pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Don't count background workers against a user's connection limit
2+ messages / 1 participants
[nested] [flat]

* pgsql: Don't count background workers against a user's connection limit
@ 2017-02-01 23:00  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Dunstan @ 2017-02-01 23:00 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Don't count background workers against a user's connection limit
@ 2017-02-01 23:02  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Dunstan @ 2017-02-01 23:02 UTC (permalink / raw)
  To: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f1169ab501ce90e035a7c6489013a1d4c250ac92

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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-02-01 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-02-01 23:00 pgsql: Don't count background workers against a user's connection limit Andrew Dunstan <andrew@dunslane.net>
2017-02-01 23:02 pgsql: Don't count background workers against a user's connection limit Andrew Dunstan <andrew@dunslane.net>

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