git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 869650f)
Fix a couple of typos
2023年3月21日 23:44:59 +0000 (08:44 +0900)
2023年3月21日 23:44:59 +0000 (08:44 +0900)
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


diff --git a/src/pl/plpython/expected/plpython_ereport.out b/src/pl/plpython/expected/plpython_ereport.out
index 74dcc419ceb4099a57ad83b6db189686cc4d3fce..0138d79d37ccb18d083a432a56638fba6bef1312 100644 (file)
--- 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 d4f6223e59dd53fc19442a828c929ebff9985216..13d6ce70be80f400564fe865a7e5c3b6d01b4810 100644 (file)
--- 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,
diff --git a/src/test/modules/test_pg_dump/t/001_base.pl b/src/test/modules/test_pg_dump/t/001_base.pl
index a74ea373bb248b772293654ced35718d3a306a27..78e76774238c9e597aff9955cab2347aec7d7d83 100644 (file)
--- a/src/test/modules/test_pg_dump/t/001_base.pl
+++ b/src/test/modules/test_pg_dump/t/001_base.pl
@@ -208,7 +208,7 @@ my %pgdump_runs = (
],
},
- # plgsql in the list blocks the dump of extension test_pg_dump
+ # plpgsql in the list blocks the dump of extension test_pg_dump
without_extension => {
dump_cmd => [
'pg_dump', '--no-sync', "--file=$tempdir/without_extension.sql",
@@ -216,7 +216,7 @@ my %pgdump_runs = (
],
},
- # plgsql in the list of extensions blocks the dump of extension
+ # plpgsql in the list of extensions blocks the dump of extension
# test_pg_dump. "public" is the schema used by the extension
# test_pg_dump, but none of its objects should be dumped.
without_extension_explicit_schema => {
@@ -230,7 +230,7 @@ my %pgdump_runs = (
],
},
- # plgsql in the list of extensions blocks the dump of extension
+ # plpgsql in the list of extensions blocks the dump of extension
# test_pg_dump, but not the dump of objects not dependent on the
# extension located on a schema maintained by the extension.
without_extension_internal_schema => {
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /