summaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-01-27 01:00:58 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-01-27 01:00:58 +0200
commit5829738868f8d87263b6d31675e08147d8d7c188 (patch)
tree43ec48602f094052cbe9130cca9a498de84d6b06 /src/pl/plpython/plpython.c
parent582b5ac62e74a553e72151b321804a7b2e5fed6f (diff)
downloadpostgresql-5829738868f8d87263b6d31675e08147d8d7c188.tar.gz
Do not prefix error messages with the string "PL/Python: "
It is redundant, given the error context. Jan UrbaƄski
Diffstat (limited to 'src/pl/plpython/plpython.c')
-rw-r--r--src/pl/plpython/plpython.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c
index 21cb106b80..aafe556c04 100644
--- a/src/pl/plpython/plpython.c
+++ b/src/pl/plpython/plpython.c
@@ -3615,14 +3615,14 @@ PLy_elog(int elevel, const char *fmt,...)
{
if (fmt)
ereport(elevel,
- (errmsg("PL/Python: %s", emsg.data),
+ (errmsg("%s", emsg.data),
(xmsg) ? errdetail("%s", xmsg) : 0,
(hint) ? errhint("%s", hint) : 0,
(query) ? internalerrquery(query) : 0,
(position) ? internalerrposition(position) : 0));
else
ereport(elevel,
- (errmsg("PL/Python: %s", xmsg),
+ (errmsg("%s", xmsg),
(detail) ? errdetail("%s", detail) : 0,
(hint) ? errhint("%s", hint) : 0,
(query) ? internalerrquery(query) : 0,