summaryrefslogtreecommitdiff
path: root/src/pl/plpython
diff options
context:
space:
mode:
authorTom Lane2012-02-01 07:14:37 +0000
committerTom Lane2012-02-01 07:14:37 +0000
commitbef47331b6a1c0d081179a7fc9b82dd7e1862394 (patch)
treeff0dcd912757135ff22cee4bbe2d0749d0069efd /src/pl/plpython
parent4b77bfc37a1819fdfd3b767a52ff633cd28f9155 (diff)
Code review for plpgsql fn_signature patch.
Don't quote the output of format_procedure(); it's already quoted quite enough. Remove the fn_name field, which was now just dead weight. Fix remaining expected-output files.
Diffstat (limited to 'src/pl/plpython')
-rw-r--r--src/pl/plpython/expected/plpython_error.out4
-rw-r--r--src/pl/plpython/expected/plpython_error_0.out4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pl/plpython/expected/plpython_error.out b/src/pl/plpython/expected/plpython_error.out
index 8c489923ce..8a4f571253 100644
--- a/src/pl/plpython/expected/plpython_error.out
+++ b/src/pl/plpython/expected/plpython_error.out
@@ -292,7 +292,7 @@ PL/Python function "python_traceback"
SELECT sql_error();
ERROR: division by zero
CONTEXT: SQL statement "select 1/0"
-PL/pgSQL function "sql_error()" line 3 at SQL statement
+PL/pgSQL function sql_error() line 3 at SQL statement
SELECT python_from_sql_error();
ERROR: spiexceptions.DivisionByZero: division by zero
CONTEXT: Traceback (most recent call last):
@@ -306,7 +306,7 @@ CONTEXT: Traceback (most recent call last):
plpy.execute("select sql_error()")
PL/Python function "python_traceback"
SQL statement "select python_traceback()"
-PL/pgSQL function "python_from_sql_error()" line 3 at SQL statement
+PL/pgSQL function python_from_sql_error() line 3 at SQL statement
SELECT sql_from_python_error();
ERROR: spiexceptions.DivisionByZero: division by zero
CONTEXT: Traceback (most recent call last):
diff --git a/src/pl/plpython/expected/plpython_error_0.out b/src/pl/plpython/expected/plpython_error_0.out
index 6cb2ed091b..b8d10dd735 100644
--- a/src/pl/plpython/expected/plpython_error_0.out
+++ b/src/pl/plpython/expected/plpython_error_0.out
@@ -292,7 +292,7 @@ PL/Python function "python_traceback"
SELECT sql_error();
ERROR: division by zero
CONTEXT: SQL statement "select 1/0"
-PL/pgSQL function "sql_error" line 3 at SQL statement
+PL/pgSQL function sql_error() line 3 at SQL statement
SELECT python_from_sql_error();
ERROR: spiexceptions.DivisionByZero: division by zero
CONTEXT: Traceback (most recent call last):
@@ -306,7 +306,7 @@ CONTEXT: Traceback (most recent call last):
plpy.execute("select sql_error()")
PL/Python function "python_traceback"
SQL statement "select python_traceback()"
-PL/pgSQL function "python_from_sql_error" line 3 at SQL statement
+PL/pgSQL function python_from_sql_error() line 3 at SQL statement
SELECT sql_from_python_error();
ERROR: spiexceptions.DivisionByZero: division by zero
CONTEXT: Traceback (most recent call last):