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

Diff for: pg_wait_sampling.c

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