Do not prefix error messages with the string "PL/Python: "

It is redundant, given the error context.

Jan Urbański
This commit is contained in:
Peter Eisentraut
2011-01-27 01:00:58 +02:00
parent 582b5ac62e
commit 5829738868
8 changed files with 24 additions and 24 deletions

View File

@ -2,5 +2,5 @@ DO $$ plpy.notice("This is plpythonu.") $$ LANGUAGE plpythonu;
NOTICE: This is plpythonu.
CONTEXT: PL/Python anonymous code block
DO $$ nonsense $$ LANGUAGE plpythonu;
ERROR: PL/Python: NameError: global name 'nonsense' is not defined
ERROR: NameError: global name 'nonsense' is not defined
CONTEXT: PL/Python anonymous code block