mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-18 04:17:00 +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:
@ -125,7 +125,7 @@ else:
|
||||
return None
|
||||
$$ LANGUAGE plpythonu;
|
||||
SELECT result_nrows_test();
|
||||
INFO: (True,)
|
||||
INFO: True
|
||||
CONTEXT: PL/Python function "result_nrows_test"
|
||||
result_nrows_test
|
||||
-------------------
|
||||
|
||||
Reference in New Issue
Block a user