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: 691594a)
Change "..." to cstring in old input/output function comments.
2023年6月26日 08:52:02 +0000 (11:52 +0300)
2023年6月26日 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


diff --git a/src/backend/utils/adt/name.c b/src/backend/utils/adt/name.c
index 79c1b900307f2282d29f4a4de7e947794ee5fc39..c136eabdbc90e670123c3a2bb5cd5f94e4d54a87 100644 (file)
--- a/src/backend/utils/adt/name.c
+++ b/src/backend/utils/adt/name.c
@@ -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)
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c
index 884bfbc8ceb6f9a4dfcd3412d5840f40174fba94..b1ec5c32cede21998f6084039aa57655afdfbef0 100644 (file)
--- a/src/backend/utils/adt/varlena.c
+++ b/src/backend/utils/adt/varlena.c
@@ -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)
This is the main PostgreSQL git repository.
RSS Atom

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