diff options
author | Jan Wieck <JanWieck@Yahoo.com> | 2002-06-11 13:40:53 +0000 |
---|---|---|
committer | Jan Wieck <JanWieck@Yahoo.com> | 2002-06-11 13:40:53 +0000 |
commit | 469cb65aca0307506886158be2fce9f4438f8361 (patch) | |
tree | 2193a8dfc32a8b89bbd8babe01d7cdae8beb3e79 /src/include/utils/datetime.h | |
parent | 3b993acf19f83b2e8fa0517fdb7b08dfe1ad9dd1 (diff) | |
download | postgresql-469cb65aca0307506886158be2fce9f4438f8361.tar.gz postgresql-469cb65aca0307506886158be2fce9f4438f8361.zip |
Katherine Ward wrote:
> Changes to avoid collisions with WIN32 & MFC names...
> 1. Renamed:
> a. PROC => PGPROC
> b. GetUserName() => GetUserNameFromId()
> c. GetCurrentTime() => GetCurrentDateTime()
> d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
>
> 2. Added _P to some lex/yacc tokens:
> CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
Jan
Diffstat (limited to 'src/include/utils/datetime.h')
-rw-r--r-- | src/include/utils/datetime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index 46d8753ff43..f998f4517d5 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: datetime.h,v 1.30 2002/05/17 01:19:19 tgl Exp $ + * $Id: datetime.h,v 1.31 2002/06/11 13:40:52 wieck Exp $ * *------------------------------------------------------------------------- */ @@ -95,7 +95,7 @@ #define TZ 5 #define DTZ 6 #define DTZMOD 7 -#define IGNORE 8 +#define IGNORE_DTF 8 #define AMPM 9 #define HOUR 10 #define MINUTE 11 @@ -260,7 +260,7 @@ extern int day_tab[2][13]; || (((m) == UTIME_MAXMONTH) && ((d) <= UTIME_MAXDAY)))))) -extern void GetCurrentTime(struct tm * tm); +extern void GetCurrentDateTime(struct tm * tm); extern void GetCurrentTimeUsec(struct tm * tm, fsec_t *fsec); extern void j2date(int jd, int *year, int *month, int *day); extern int date2j(int year, int month, int day); |