OSDN Git Service

All regression tests pass except for rules.sql (unrelated).
authorThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 16 Feb 2000 18:17:02 +0000 (18:17 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 16 Feb 2000 18:17:02 +0000 (18:17 +0000)
commitbf566b202ec879d54e411627fb96d5e620d3c246
tree0a88eeeac721c43b5412c6be56343f2852210a54
parent8997675c4b962b19029076bd1c023f9bb70a9abf
All regression tests pass except for rules.sql (unrelated).
Implement "date/time grand unification".
 Transform datetime and timespan into timestamp and interval.
 Deprecate datetime and timespan, though translate to new types in gram.y.
 Transform all datetime and timespan catalog entries into new types.
 Make "INTERVAL" reserved word allowed as a column identifier in gram.y.
 Remove dt.h, dt.c files, and retarget datetime.h, datetime.c as utility
  routines for all date/time types.
 date.{h,c} now deals with date, time types.
 timestamp.{h,c} now deals with timestamp, interval types.
 nabstime.{h,c} now deals with abstime, reltime, tinterval types.
Make NUMERIC a known native type for purposes of type coersion. Not tested.
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c