diff options
author | Marc G. Fournier <scrappy@hub.org> | 1999-02-21 03:49:55 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1999-02-21 03:49:55 +0000 |
commit | 8c3e8a8a0e432b709ad45b452612f744bacf1514 (patch) | |
tree | f6dd8c40d09730dd5a44cd1ac19d4c50b002b47c /src/backend/utils/adt/datetime.c | |
parent | 1efa3f42280fce080e47fc4491a809240cbe464a (diff) | |
download | postgresql-8c3e8a8a0e432b709ad45b452612f744bacf1514.tar.gz postgresql-8c3e8a8a0e432b709ad45b452612f744bacf1514.zip |
From: Tatsuo Ishii <t-ishii@sra.co.jp>
Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef
NOT_USED" for current. I have tested these patches in that the
postgres binaries are identical.
Diffstat (limited to 'src/backend/utils/adt/datetime.c')
-rw-r--r-- | src/backend/utils/adt/datetime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c index 658526678a1..cae20001304 100644 --- a/src/backend/utils/adt/datetime.c +++ b/src/backend/utils/adt/datetime.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.28 1999/02/13 23:19:08 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.29 1999/02/21 03:49:30 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ static int date2tm(DateADT dateVal, int *tzp, struct tm * tm, double *fsec, char **tzn); -#if 0 +#ifdef NOT_USED static int day_tab[2][12] = { {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}}; @@ -100,7 +100,7 @@ date_in(char *str) elog(ERROR, "Unrecognized date external representation %s", str); } -#if 0 +#ifdef NOT_USED if (tm->tm_year < 0 || tm->tm_year > 32767) elog(ERROR, "date_in: year must be limited to values 0 through 32767 in '%s'", str); if (tm->tm_mon < 1 || tm->tm_mon > 12) |