Spurious curly bracket in "CREATE FUNCTION"/"CREATE PROCEDURE" doc
Spurious curly bracket in "CREATE FUNCTION"/"CREATE PROCEDURE" doc
От:
Lele Gaifax <lele@metapensiero.it>
Дата:
Hi all,
I think I spotted two minor glitches in the documentation for both
"CREATE FUNCTION" and "CREATE PROCEDURE" doc pages.
The detailed entry for the "TRANSFORM" option in their "Parameters"
section (not the "Synopsis" one), has a trailing "}" that I think it is
spurious. It currently shows
TRANSFORM { FOR TYPE type_name } [, ... ] }
Lists which transforms a call to the function should apply...
I can see the same "problem" (assuming it is not me misreading the
syntax) in all versions of the pages (that is, from v14 to "current"
version of PG) visible at https://www.postgresql.org/docs/.
If I am right, the following patch against current master would fix
the problem:
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index 91148af012d..8e7f4aa08b6 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -273,7 +273,7 @@ CREATE [ OR REPLACE ] FUNCTION
- TRANSFORM { FOR TYPE type_name } [, ... ] }
+ TRANSFORM { FOR TYPE type_name } [, ... ]
diff --git a/doc/src/sgml/ref/create_procedure.sgml b/doc/src/sgml/ref/create_procedure.sgml
index 03a14c86845..2cda4876b59 100644
--- a/doc/src/sgml/ref/create_procedure.sgml
+++ b/doc/src/sgml/ref/create_procedure.sgml
@@ -177,7 +177,7 @@ CREATE [ OR REPLACE ] PROCEDURE
- TRANSFORM { FOR TYPE type_name } [, ... ] }
+ TRANSFORM { FOR TYPE type_name } [, ... ]
All the best,
bye, lele.
--
nickname: Lele Gaifax | Seeing Emacs as an editor is like seeing a car
real: Emanuele Gaifas | as a seating-accomodation.
lele@metapensiero.it | -- Karl Voit
Re: Spurious curly bracket in "CREATE FUNCTION"/"CREATE PROCEDURE" doc
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Lele Gaifax writes: > I think I spotted two minor glitches in the documentation for both > "CREATE FUNCTION" and "CREATE PROCEDURE" doc pages. > The detailed entry for the "TRANSFORM" option in their "Parameters" > section (not the "Synopsis" one), has a trailing "}" that I think it is > spurious. ... Right you are, fix pushed. Thanks for the report! regards, tom lane