mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +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:
@ -4294,7 +4294,7 @@ ShowUsage(const char *title)
|
||||
|
||||
ereport(LOG,
|
||||
(errmsg_internal("%s", title),
|
||||
errdetail("%s", str.data)));
|
||||
errdetail_internal("%s", str.data)));
|
||||
|
||||
pfree(str.data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user