aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-03-22 08:44:59 +0900
committerMichael Paquier <michael@paquier.xyz>2023-03-22 08:44:59 +0900
commit88199b9d5fda605360ac903dd9d3de0ca36f0b8c (patch)
treece5e8ecf6afcb2f40701d898ecef74a6743b4a5b /src/pl/plpython
parent869650fa86adf74fca7f566c9317f6310f8b400c (diff)
downloadpostgresql-88199b9d5fda605360ac903dd9d3de0ca36f0b8c.tar.gz
postgresql-88199b9d5fda605360ac903dd9d3de0ca36f0b8c.zip
Fix a couple of typos
PL/pgSQL was misspelled in a few places, so fix these. Author: Zhang Mingli Reviewed-by: Richard Guo Discussion: https://postgr.es/m/1bd41572-9cd9-465e-9f59-ee45385e51b4@Spark
Diffstat (limited to 'src/pl/plpython')
-rw-r--r--src/pl/plpython/expected/plpython_ereport.out2
-rw-r--r--src/pl/plpython/sql/plpython_ereport.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/expected/plpython_ereport.out b/src/pl/plpython/expected/plpython_ereport.out
index 74dcc419ceb..0138d79d37c 100644
--- a/src/pl/plpython/expected/plpython_ereport.out
+++ b/src/pl/plpython/expected/plpython_ereport.out
@@ -79,7 +79,7 @@ CONTEXT: Traceback (most recent call last):
PL/Python anonymous code block, line 1, in <module>
plpy.info('first message', 'second message', message='third message')
PL/Python anonymous code block
--- raise exception in python, handle exception in plgsql
+-- raise exception in python, handle exception in plpgsql
CREATE OR REPLACE FUNCTION raise_exception(_message text, _detail text DEFAULT NULL, _hint text DEFAULT NULL,
_sqlstate text DEFAULT NULL,
_schema_name text DEFAULT NULL,
diff --git a/src/pl/plpython/sql/plpython_ereport.sql b/src/pl/plpython/sql/plpython_ereport.sql
index d4f6223e59d..13d6ce70be8 100644
--- a/src/pl/plpython/sql/plpython_ereport.sql
+++ b/src/pl/plpython/sql/plpython_ereport.sql
@@ -40,7 +40,7 @@ DO $$ plpy.info('unsupported argument', blabla='fooboo') $$ LANGUAGE plpython3u;
DO $$ plpy.info('first message', message='second message') $$ LANGUAGE plpython3u;
DO $$ plpy.info('first message', 'second message', message='third message') $$ LANGUAGE plpython3u;
--- raise exception in python, handle exception in plgsql
+-- raise exception in python, handle exception in plpgsql
CREATE OR REPLACE FUNCTION raise_exception(_message text, _detail text DEFAULT NULL, _hint text DEFAULT NULL,
_sqlstate text DEFAULT NULL,
_schema_name text DEFAULT NULL,