mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Message style improvements
This commit is contained in:
@@ -515,7 +515,7 @@ ProcessRepliesIfAny(void)
|
||||
default:
|
||||
ereport(FATAL,
|
||||
(errcode(ERRCODE_PROTOCOL_VIOLATION),
|
||||
errmsg("invalid standby message type %d",
|
||||
errmsg("invalid standby message type \"%c\"",
|
||||
firstchar)));
|
||||
}
|
||||
}
|
||||
@@ -566,7 +566,7 @@ ProcessStandbyMessage(void)
|
||||
default:
|
||||
ereport(COMMERROR,
|
||||
(errcode(ERRCODE_PROTOCOL_VIOLATION),
|
||||
errmsg("unexpected message type %c", msgtype)));
|
||||
errmsg("unexpected message type \"%c\"", msgtype)));
|
||||
proc_exit(0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user