diff options
author | David Rowley <drowley@postgresql.org> | 2020-06-09 18:43:15 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2020-06-09 18:43:15 +1200 |
commit | b27c90bbe4a3d607f8fc6703c7183e56e4039acd (patch) | |
tree | 9752708390d6201896e608c8d912d6d9fed5f7d7 /src/backend/utils/adt/numutils.c | |
parent | 05dea2427c2f6ba83f0b11f4e9472db2032dc1c7 (diff) | |
download | postgresql-b27c90bbe4a3d607f8fc6703c7183e56e4039acd.tar.gz postgresql-b27c90bbe4a3d607f8fc6703c7183e56e4039acd.zip |
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
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
-rw-r--r-- | src/backend/utils/adt/numutils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/numutils.c b/src/backend/utils/adt/numutils.c index f4f76845a7f..13877fdc1d1 100644 --- a/src/backend/utils/adt/numutils.c +++ b/src/backend/utils/adt/numutils.c @@ -545,11 +545,11 @@ pg_lltoa(int64 value, char *a) * The intended use-case for this function is to build strings that contain * multiple individual numbers, for example: * - * str = pg_ltostr_zeropad(str, hours, 2); + * str = pg_ultostr_zeropad(str, hours, 2); * *str++ = ':'; - * str = pg_ltostr_zeropad(str, mins, 2); + * str = pg_ultostr_zeropad(str, mins, 2); * *str++ = ':'; - * str = pg_ltostr_zeropad(str, secs, 2); + * str = pg_ultostr_zeropad(str, secs, 2); * *str = '\0'; * * 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'. * * 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 * multiple individual numbers, for example: * - * str = pg_ltostr(str, a); + * str = pg_ultostr(str, a); * *str++ = ' '; - * str = pg_ltostr(str, b); + * str = pg_ultostr(str, b); * *str = '\0'; * * Note: Caller must ensure that 'str' points to enough memory to hold the |