Skip to content

Commit 9adc21d

Browse files
robertmhaaspull[bot]
authored andcommitted
Talk about assigning, rather than generating, new MultiXactIds.
The word "assign" is used in various places internally to describe what GetNewMultiXactId does, but the user-facing messages have previously said "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 parent 0e7ce55 commit 9adc21d

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 that generate new MultiXactIds to avoid wraparound data loss in database \"%s\"",
1023+
errmsg("database is not accepting commands that assign 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 that generate new MultiXactIds to avoid wraparound data loss in database with OID %u",
1030+
errmsg("database is not accepting commands that assign 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)