mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-09 02:39:31 +02:00
Fix invalid function references in a few comments
These appear to have been forgotten when the functions were renamed in
1fd687a03
.
Backpatch-through: 13, where the functions were renamed
This commit is contained in:
parent
6df8fb391b
commit
4d655f1545
@ -545,11 +545,11 @@ pg_lltoa(int64 value, char *a)
|
|||||||
* The intended use-case for this function is to build strings that contain
|
* The intended use-case for this function is to build strings that contain
|
||||||
* multiple individual numbers, for example:
|
* multiple individual numbers, for example:
|
||||||
*
|
*
|
||||||
* str = pg_ltostr_zeropad(str, hours, 2);
|
* str = pg_ultostr_zeropad(str, hours, 2);
|
||||||
* *str++ = ':';
|
* *str++ = ':';
|
||||||
* str = pg_ltostr_zeropad(str, mins, 2);
|
* str = pg_ultostr_zeropad(str, mins, 2);
|
||||||
* *str++ = ':';
|
* *str++ = ':';
|
||||||
* str = pg_ltostr_zeropad(str, secs, 2);
|
* str = pg_ultostr_zeropad(str, secs, 2);
|
||||||
* *str = '\0';
|
* *str = '\0';
|
||||||
*
|
*
|
||||||
* Note: Caller must ensure that 'str' points to enough memory to hold the
|
* 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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pg_ltostr
|
* pg_ultostr
|
||||||
* Converts 'value' into a decimal string representation stored at 'str'.
|
* Converts 'value' into a decimal string representation stored at 'str'.
|
||||||
*
|
*
|
||||||
* Returns the ending address of the string result (the last character written
|
* 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)
|
|||||||
* The intended use-case for this function is to build strings that contain
|
* The intended use-case for this function is to build strings that contain
|
||||||
* multiple individual numbers, for example:
|
* multiple individual numbers, for example:
|
||||||
*
|
*
|
||||||
* str = pg_ltostr(str, a);
|
* str = pg_ultostr(str, a);
|
||||||
* *str++ = ' ';
|
* *str++ = ' ';
|
||||||
* str = pg_ltostr(str, b);
|
* str = pg_ultostr(str, b);
|
||||||
* *str = '\0';
|
* *str = '\0';
|
||||||
*
|
*
|
||||||
* Note: Caller must ensure that 'str' points to enough memory to hold the
|
* Note: Caller must ensure that 'str' points to enough memory to hold the
|
||||||
|
Loading…
Reference in New Issue
Block a user