mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-08 11:27:40 +08:00
Improve PL/Python elog output
When the elog functions (plpy.info etc.) get a single argument, just print
that argument instead of printing the single-member tuple like ('foo',).
This commit is contained in:
@ -51,7 +51,7 @@ return "sha hash of " + plain + " is " + digest.hexdigest()'
|
||||
-- import python modules
|
||||
--
|
||||
SELECT import_fail();
|
||||
NOTICE: ('import socket failed -- No module named foosocket',)
|
||||
NOTICE: import socket failed -- No module named foosocket
|
||||
CONTEXT: PL/Python function "import_fail"
|
||||
import_fail
|
||||
--------------------
|
||||
|
||||
Reference in New Issue
Block a user