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

Commita1a5da8

Browse files
committed
Talk about assigning, rather than generating, new MultiXactIds.
The word "assign" is used in various places internally to describe whatGetNewMultiXactId does, but the user-facing messages have previouslysaid "generate". For consistency, standardize on "assign," which seems(at least to me) to be slightly clearer.Discussion:http://postgr.es/m/CA+TgmoaoE1_i3=4-7GCTtKLVZVQ2Gh6qESW2VG1OprtycxOHMA@mail.gmail.com
1 parentd6b0c2b commita1a5da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/access/transam/multixact.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,14 +1020,14 @@ GetNewMultiXactId(int nmembers, MultiXactOffset *offset)
10201020
if (oldest_datname)
10211021
ereport(ERROR,
10221022
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1023-
errmsg("database is not accepting commands thatgenerate new MultiXactIds to avoid wraparound data loss in database \"%s\"",
1023+
errmsg("database is not accepting commands thatassign new MultiXactIds to avoid wraparound data loss in database \"%s\"",
10241024
oldest_datname),
10251025
errhint("Execute a database-wide VACUUM in that database.\n"
10261026
"You might also need to commit or roll back old prepared transactions, or drop stale replication slots.")));
10271027
else
10281028
ereport(ERROR,
10291029
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1030-
errmsg("database is not accepting commands thatgenerate new MultiXactIds to avoid wraparound data loss in database with OID %u",
1030+
errmsg("database is not accepting commands thatassign new MultiXactIds to avoid wraparound data loss in database with OID %u",
10311031
oldest_datoid),
10321032
errhint("Execute a database-wide VACUUM in that database.\n"
10331033
"You might also need to commit or roll back old prepared transactions, or drop stale replication slots.")));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp