From 1af37ec96d97722aeb527f5f43d6f6f2304f0861 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 16 Jul 2011 14:21:12 -0400 Subject: 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. --- src/backend/nodes/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/nodes/print.c') diff --git a/src/backend/nodes/print.c b/src/backend/nodes/print.c index cd119dbabb8..e22824a7dcd 100644 --- a/src/backend/nodes/print.c +++ b/src/backend/nodes/print.c @@ -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); } -- cgit v1.2.3