mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Fix typos in the code
Author: Vignesh C Reviewed-by: Dilip Kumar, Michael Paquier Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
This commit is contained in:
@@ -819,7 +819,7 @@ rfmtlong(long lng_val, const char *fmt, char *outbuf)
|
||||
sign = 1;
|
||||
if (leftalign)
|
||||
{
|
||||
/* can't use strncat(,,0) here, Solaris would freek out */
|
||||
/* can't use strncat(,,0) here, Solaris would freak out */
|
||||
if (sign)
|
||||
if (signdone)
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include "pgtypeslib_extern.h"
|
||||
|
||||
/* copy&pasted from .../src/backend/utils/adt/datetime.c
|
||||
* and changesd struct pg_tm to struct tm
|
||||
* and changed struct pg_tm to struct tm
|
||||
*/
|
||||
static void
|
||||
AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale)
|
||||
@@ -35,7 +35,7 @@ AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale
|
||||
|
||||
|
||||
/* copy&pasted from .../src/backend/utils/adt/datetime.c
|
||||
* and changesd struct pg_tm to struct tm
|
||||
* and changed struct pg_tm to struct tm
|
||||
*/
|
||||
static void
|
||||
AdjustFractDays(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale)
|
||||
@@ -88,7 +88,7 @@ ISO8601IntegerWidth(const char *fieldstart)
|
||||
|
||||
|
||||
/* copy&pasted from .../src/backend/utils/adt/datetime.c
|
||||
* and changesd struct pg_tm to struct tm
|
||||
* and changed struct pg_tm to struct tm
|
||||
*/
|
||||
static inline void
|
||||
ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec)
|
||||
@@ -104,7 +104,7 @@ ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec)
|
||||
|
||||
/* copy&pasted from .../src/backend/utils/adt/datetime.c
|
||||
*
|
||||
* * changesd struct pg_tm to struct tm
|
||||
* * changed struct pg_tm to struct tm
|
||||
*
|
||||
* * Made the function static
|
||||
*/
|
||||
@@ -311,7 +311,7 @@ DecodeISO8601Interval(char *str,
|
||||
/* copy&pasted from .../src/backend/utils/adt/datetime.c
|
||||
* with 3 exceptions
|
||||
*
|
||||
* * changesd struct pg_tm to struct tm
|
||||
* * changed struct pg_tm to struct tm
|
||||
*
|
||||
* * ECPG code called this without a 'range' parameter
|
||||
* removed 'int range' from the argument list and
|
||||
|
Reference in New Issue
Block a user