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

Commit b27c90b

Browse files
committed
Fix invalid function references in a few comments
These appear to have been forgotten when the functions were renamed in 1fd687a. Backpatch-through: 13, where the functions were renamed
1 parent 05dea24 commit b27c90b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/utils/adt/numutils.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,11 @@ pg_lltoa(int64 value, char *a)
545545
* The intended use-case for this function is to build strings that contain
546546
* multiple individual numbers, for example:
547547
*
548-
* str = pg_ltostr_zeropad(str, hours, 2);
548+
* str = pg_ultostr_zeropad(str, hours, 2);
549549
* *str++ = ':';
550-
* str = pg_ltostr_zeropad(str, mins, 2);
550+
* str = pg_ultostr_zeropad(str, mins, 2);
551551
* *str++ = ':';
552-
* str = pg_ltostr_zeropad(str, secs, 2);
552+
* str = pg_ultostr_zeropad(str, secs, 2);
553553
* *str = '\0';
554554
*
555555
* Note: Caller must ensure that 'str' points to enough memory to hold the
@@ -578,7 +578,7 @@ pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth)
578578
}
579579

580580
/*
581-
* pg_ltostr
581+
* pg_ultostr
582582
* Converts 'value' into a decimal string representation stored at 'str'.
583583
*
584584
* Returns the ending address of the string result (the last character written
@@ -587,9 +587,9 @@ pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth)
587587
* The intended use-case for this function is to build strings that contain
588588
* multiple individual numbers, for example:
589589
*
590-
* str = pg_ltostr(str, a);
590+
* str = pg_ultostr(str, a);
591591
* *str++ = ' ';
592-
* str = pg_ltostr(str, b);
592+
* str = pg_ultostr(str, b);
593593
* *str = '\0';
594594
*
595595
* Note: Caller must ensure that 'str' points to enough memory to hold the

0 commit comments

Comments
 (0)