1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Rename TIME token to ISOTIME to eliminate conflict with gram.y parser

token. Seems to be isolated to datetime.c and datetime.h.
This commit is contained in:
Thomas G. Lockhart
2002-01-01 02:54:33 +00:00
parent 6b086de31a
commit c546170e77
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.86 2001/12/30 23:09:41 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.87 2002/01/01 02:54:27 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@ -414,7 +414,7 @@ sgt
#if 0
syot
#endif
{"t", TIME, DTK_TIME}, /* Filler for ISO time fields */
{"t", ISOTIME, DTK_TIME}, /* Filler for ISO time fields */
#if 0
taht
#endif
@ -1353,7 +1353,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
ptype = val;
break;
case TIME:
case ISOTIME:
/* This is a filler field "t"
* indicating that the next field is time.
* Try to verify that this is sensible.
@ -1909,7 +1909,7 @@ DecodeTimeOnly(char **field, int *ftype, int nf,
ptype = val;
break;
case TIME:
case ISOTIME:
tmask = 0;
/***