diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-16 14:21:24 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-16 14:22:35 -0400 |
commit | fbd847a5877444f098cdbf270b967f8010a48838 (patch) | |
tree | 8452f58fbf950d6f7d2642abcbfb52b0f8c0881a /src/backend/tcop/postgres.c | |
parent | 3b41d490bb4225ff0398900f566b1e4c728eff05 (diff) | |
download | postgresql-fbd847a5877444f098cdbf270b967f8010a48838.tar.gz postgresql-fbd847a5877444f098cdbf270b967f8010a48838.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 80d07f8f2da..f035a48e9b4 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -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); } |