Skip to content

Commit 067ba2f

Browse files
author
Sergey Shinderuk
committed
Revert "[refer #PGPRO-6612] Count max procs"
We deliberately don't include max_prepared_xact and needn't include MaxATX either. We iterate over ProcGlobal->allProcCount which doesn't include them. This reverts commit df1aa39.
1 parent 57c1ecf commit 067ba2f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pg_wait_sampling.c

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

116-
#if PG_VERSION_NUM >= 140000 && defined(PGPRO_EE)
117-
count += MaxATX;
118-
#endif
119-
120116
/*
121117
* Starting with pg12, wal senders aren't part of MaxConnections anymore
122118
* 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