From b491a15f8c1468097ca181cbe3a4ce1271781ffb Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 26 Jun 2023 11:52:02 +0300 Subject: [PATCH] Change "..." to cstring in old input/output function comments. 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 | 4 ++-- src/backend/utils/adt/varlena.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/utils/adt/name.c b/src/backend/utils/adt/name.c index 79c1b900307..c136eabdbc9 100644 --- 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 884bfbc8ceb..b1ec5c32ced 100644 --- 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)