Skip to content

Commit df1aa39

Browse files
author
i.kartyshov
committed
[refer #PGPRO-6612] Count max procs
tags: pg_wait_sampling
1 parent af53205 commit df1aa39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pg_wait_sampling.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ get_max_procs_count(void)
114114
count += MaxConnections + autovacuum_max_workers + 1
115115
+ max_worker_processes;
116116

117+
#if PG_VERSION_NUM >= 140000 && defined(PGPRO_EE)
118+
count += MaxATX;
119+
#endif
120+
117121
/*
118122
* Starting with pg12, wal senders aren't part of MaxConnections anymore
119123
* and have to be accounted for.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy