1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

Message style improvements

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

View File

@ -368,8 +368,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)));
}