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

Commit7d732f0

Browse files
committed
Wups, fat-fingered the calculation the first time. Update comment in
postgresql.conf.sample too.
1 parentb1bff7e commit7d732f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.358 2005/12/23 23:02:26 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.359 2005/12/23 23:28:35 tgl Exp $
33
-->
44

55
<chapter Id="runtime">
@@ -1031,12 +1031,12 @@ set semsys:seminfo_semmsl=32
10311031
<tbody>
10321032
<row>
10331033
<entry><xref linkend="guc-max-connections"></>
1034-
<entry>400 +400 * <xref linkend="guc-max-locks-per-transaction"></entry>
1034+
<entry>400 +270 * <xref linkend="guc-max-locks-per-transaction"></entry>
10351035
</row>
10361036

10371037
<row>
10381038
<entry><xref linkend="guc-max-prepared-transactions"></>
1039-
<entry>600 +400 * <xref linkend="guc-max-locks-per-transaction"></entry>
1039+
<entry>600 +270 * <xref linkend="guc-max-locks-per-transaction"></entry>
10401040
</row>
10411041

10421042
<row>

‎src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401

402402
#deadlock_timeout = 1000# in milliseconds
403403
#max_locks_per_transaction = 64# min 10
404-
# note: each lock table slot uses ~220 bytes of shared memory, and there are
404+
# note: each lock table slot uses ~270 bytes of shared memory, and there are
405405
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
406406
# lock table slots.
407407

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp