mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
There may be some other places where we should use errdetail_internal, but they'll have to be evaluated case-by-case. This commit just hits a bunch of places where invoking gettext is obviously a waste of cycles.
This commit is contained in:
@ -82,7 +82,7 @@ elog_node_display(int lev, const char *title, void *obj, bool pretty)
|
||||
pfree(s);
|
||||
ereport(lev,
|
||||
(errmsg_internal("%s:", title),
|
||||
errdetail("%s", f)));
|
||||
errdetail_internal("%s", f)));
|
||||
pfree(f);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user