Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf1aa39

Browse files
author
i.kartyshov
committed
[refer #PGPRO-6612] Count max procs
tags: pg_wait_sampling
1 parentaf53205 commitdf1aa39

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+
#ifPG_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)

[8]ページ先頭

©2009-2025 Movatter.jp