1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2021-09-16 14:48:52 +02:00
parent 3d7c752a2f
commit 4ac0f450b6
6 changed files with 17 additions and 22 deletions

View File

@@ -357,8 +357,8 @@ set_authn_id(Port *port, const char *id)
* connection continue, either.
*/
ereport(FATAL,
(errmsg("connection was re-authenticated"),
errdetail_log("previous ID: \"%s\"; new ID: \"%s\"",
(errmsg("authentication identifier set more than once"),
errdetail_log("previous identifier: \"%s\"; new identifier: \"%s\"",
port->authn_id, id)));
}