Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b491a15

Browse files
committed
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
1 parent 691594a commit b491a15

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/backend/utils/adt/name.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939

4040
/*
41-
* namein - converts "..." to internal representation
41+
* namein - converts cstring to internal representation
4242
*
4343
* Note:
4444
* [Old] Currently if strlen(s) < NAMEDATALEN, the extra chars are nulls
@@ -65,7 +65,7 @@ namein(PG_FUNCTION_ARGS)
6565
}
6666

6767
/*
68-
* nameout - converts internal representation to "..."
68+
* nameout - converts internal representation to cstring
6969
*/
7070
Datum
7171
nameout(PG_FUNCTION_ARGS)

src/backend/utils/adt/varlena.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ bytea_string_agg_finalfn(PG_FUNCTION_ARGS)
571571
}
572572

573573
/*
574-
* textin - converts "..." to internal representation
574+
* textin - converts cstring to internal representation
575575
*/
576576
Datum
577577
textin(PG_FUNCTION_ARGS)
@@ -582,7 +582,7 @@ textin(PG_FUNCTION_ARGS)
582582
}
583583

584584
/*
585-
* textout - converts internal representation to "..."
585+
* textout - converts internal representation to cstring
586586
*/
587587
Datum
588588
textout(PG_FUNCTION_ARGS)
@@ -626,7 +626,7 @@ textsend(PG_FUNCTION_ARGS)
626626

627627

628628
/*
629-
* unknownin - converts "..." to internal representation
629+
* unknownin - converts cstring to internal representation
630630
*/
631631
Datum
632632
unknownin(PG_FUNCTION_ARGS)
@@ -638,7 +638,7 @@ unknownin(PG_FUNCTION_ARGS)
638638
}
639639

640640
/*
641-
* unknownout - converts internal representation to "..."
641+
* unknownout - converts internal representation to cstring
642642
*/
643643
Datum
644644
unknownout(PG_FUNCTION_ARGS)

0 commit comments

Comments
 (0)