From 2e3b16c8ba22991c4c1e165cf02050ca89309c05 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Tue, 3 Nov 2009 11:05:03 +0000
Subject: 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',).
---
 src/pl/plpython/sql/plpython_test.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/pl/plpython/sql/plpython_test.sql')

diff --git a/src/pl/plpython/sql/plpython_test.sql b/src/pl/plpython/sql/plpython_test.sql
index 4a7a687e66..161399f2ec 100644
--- a/src/pl/plpython/sql/plpython_test.sql
+++ b/src/pl/plpython/sql/plpython_test.sql
@@ -27,6 +27,7 @@ plpy.debug('debug')
 plpy.log('log')
 plpy.info('info')
 plpy.info(37)
+plpy.info()
 plpy.info('info', 37, [1, 2, 3])
 plpy.notice('notice')
 plpy.warning('warning')
-- 
cgit v1.2.1

