diff options
author | Alvaro Herrera | 2022-11-24 09:45:10 +0000 |
---|---|---|
committer | Alvaro Herrera | 2022-11-24 09:45:10 +0000 |
commit | 2cf41cd30997f6a79fb962007a3cd11edcf9d013 (patch) | |
tree | 991773e1db4e419ee92b321203372d51570cefa3 | |
parent | 385da7306c7fce210bd059ad97ebb3e19699e161 (diff) |
Make multixact error message more explicit
There are recent reports involving a very old error message that we have
no history of hitting -- perhaps a recently introduced bug. Improve the
error message in an attempt to improve our chances of investigating the
bug.
Per reports from Dimos Stamatakis and Bob Krier.
Backpatch to 11.
Discussion: https://postgr.es/m/CO2PR0801MB2310579F65529380A4E5EDC0E20A9@CO2PR0801MB2310.namprd08.prod.outlook.com
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/backend/access/transam/multixact.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/multixact.c b/src/backend/access/transam/multixact.c index 204aa95045..e1191a7564 100644 --- a/src/backend/access/transam/multixact.c +++ b/src/backend/access/transam/multixact.c @@ -799,7 +799,8 @@ MultiXactIdCreateFromMembers(int nmembers, MultiXactMember *members) if (ISUPDATE_from_mxstatus(members[i].status)) { if (has_update) - elog(ERROR, "new multixact has more than one updating member"); + elog(ERROR, "new multixact has more than one updating member: %s", + mxid_to_string(InvalidMultiXactId, nmembers, members)); has_update = true; } } |