diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-10-10 00:02:42 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-10-10 00:02:42 +0000 |
commit | 371f49bf9f13d8762e6894e0534432aa86c56c92 (patch) | |
tree | 66bd8eb5ccc4ebb0178d5a02dd8edfba11c32552 /src/backend/utils/adt/datetime.c | |
parent | ec5c62874db0214286aade020e8241f5b32a5ec3 (diff) | |
download | postgresql-371f49bf9f13d8762e6894e0534432aa86c56c92.tar.gz postgresql-371f49bf9f13d8762e6894e0534432aa86c56c92.zip |
Remove gratuitous discrepancy between extract() and date_part(),
regarding timezone_hour, timezone_minute vs. tz_hour, tz_minute.
Document the former.
Diffstat (limited to 'src/backend/utils/adt/datetime.c')
-rw-r--r-- | src/backend/utils/adt/datetime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c index b5d32494f76..81d57faf74d 100644 --- a/src/backend/utils/adt/datetime.c +++ b/src/backend/utils/adt/datetime.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.70 2001/10/05 06:38:59 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.71 2001/10/10 00:02:42 petere Exp $ * *------------------------------------------------------------------------- */ @@ -293,9 +293,9 @@ static datetkn deltatktbl[] = { {"seconds", UNITS, DTK_SECOND}, {"secs", UNITS, DTK_SECOND}, {DTIMEZONE, UNITS, DTK_TZ}, /* "timezone" time offset */ - {"tz", UNITS, DTK_TZ}, /* "timezone" time offset */ - {"tz_hour", UNITS, DTK_TZ_HOUR}, /* timezone hour units */ - {"tz_minute", UNITS, DTK_TZ_MINUTE}, /* timezone minutes units */ + {"timezone", UNITS, DTK_TZ}, /* "timezone" time offset */ + {"timezone_hour", UNITS, DTK_TZ_HOUR}, /* timezone hour units */ + {"timezone_minute", UNITS, DTK_TZ_MINUTE}, /* timezone minutes units */ {"undefined", RESERV, DTK_INVALID}, /* pre-v6.1 invalid time */ {"us", UNITS, DTK_MICROSEC},/* "microsecond" relative time units */ {"usec", UNITS, DTK_MICROSEC}, /* "microsecond" relative time |