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
pull/137/head
Heikki Linnakangas 2 years ago
parent 691594acd6
commit b491a15f8c
  1. 4
      src/backend/utils/adt/name.c
  2. 8
      src/backend/utils/adt/varlena.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)

@ -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)

Loading…
Cancel
Save