mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgrowlocks: change lock mode output labels for consistency
Change "Share" to "For Share" and "Key Share" to "For Key Share" for consistency with other lock mode labels. BACKWARD COMPATIBILITY BREAK Reported-by: David Cook Discussion: https://postgr.es/m/CA+dNBPNBf+FCEwohe7SH1tSks0R_G4F=tuvM=hnPs4qWiAH8vg@mail.gmail.com Backpatch-through: master
This commit is contained in:
@ -200,10 +200,10 @@ pgrowlocks(PG_FUNCTION_ARGS)
|
||||
snprintf(buf, NCHARS, "For No Key Update");
|
||||
break;
|
||||
case MultiXactStatusForShare:
|
||||
snprintf(buf, NCHARS, "Share");
|
||||
snprintf(buf, NCHARS, "For Share");
|
||||
break;
|
||||
case MultiXactStatusForKeyShare:
|
||||
snprintf(buf, NCHARS, "Key Share");
|
||||
snprintf(buf, NCHARS, "For Key Share");
|
||||
break;
|
||||
}
|
||||
strcat(values[Atnum_modes], buf);
|
||||
|
Reference in New Issue
Block a user