]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Change "..." to cstring in old input/output function comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 26 Jun 2023 08:52:02 +0000 (11:52 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 26 Jun 2023 08:52:31 +0000 (11:52 +0300)
It was not clear what the "..." meant.

Author: Steve Chavez
Discussion: https://www.postgresql.org/message-id/CAGRrpzZzeh7zC3yaVG9di%3DydJ%2BiHwdXnFPB3evGFKvC1zf6ajA@mail.gmail.com

src/backend/utils/adt/name.c
src/backend/utils/adt/varlena.c

index 79c1b900307f2282d29f4a4de7e947794ee5fc39..c136eabdbc90e670123c3a2bb5cd5f94e4d54a87 100644 (file)
@@ -38,7 +38,7 @@
 
 
 /*
- *             namein  - converts "..." to internal representation
+ *             namein  - converts cstring to internal representation
  *
  *             Note:
  *                             [Old] Currently if strlen(s) < NAMEDATALEN, the extra chars are nulls
@@ -65,7 +65,7 @@ namein(PG_FUNCTION_ARGS)
 }
 
 /*
- *             nameout - converts internal representation to "..."
+ *             nameout - converts internal representation to cstring
  */
 Datum
 nameout(PG_FUNCTION_ARGS)
index 884bfbc8ceb6f9a4dfcd3412d5840f40174fba94..b1ec5c32cede21998f6084039aa57655afdfbef0 100644 (file)
@@ -571,7 +571,7 @@ bytea_string_agg_finalfn(PG_FUNCTION_ARGS)
 }
 
 /*
- *             textin                  - converts "..." to internal representation
+ *             textin                  - converts cstring to internal representation
  */
 Datum
 textin(PG_FUNCTION_ARGS)
@@ -582,7 +582,7 @@ textin(PG_FUNCTION_ARGS)
 }
 
 /*
- *             textout                 - converts internal representation to "..."
+ *             textout                 - converts internal representation to cstring
  */
 Datum
 textout(PG_FUNCTION_ARGS)
@@ -626,7 +626,7 @@ textsend(PG_FUNCTION_ARGS)
 
 
 /*
- *             unknownin                       - converts "..." to internal representation
+ *             unknownin                       - converts cstring to internal representation
  */
 Datum
 unknownin(PG_FUNCTION_ARGS)
@@ -638,7 +638,7 @@ unknownin(PG_FUNCTION_ARGS)
 }
 
 /*
- *             unknownout                      - converts internal representation to "..."
+ *             unknownout                      - converts internal representation to cstring
  */
 Datum
 unknownout(PG_FUNCTION_ARGS)