Make ISO date style (e.g. "2000-02-16 09:33") the default.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 16 Feb 2000 17:25:49 +0000 (17:25 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 16 Feb 2000 17:25:49 +0000 (17:25 +0000)
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/init/globals.c

index 8558aae59c771571464cd39d39efe5b4840046af..5170be2861548313dd5423e33362ae77e7a8b772 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.40 2000/01/26 05:57:26 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.41 2000/02/16 17:25:49 thomas Exp $
  *
  * NOTES
  *   Globals used all over the place should be declared here and not
@@ -66,7 +66,7 @@ bool      IsUnderPostmaster = false;
 
 int            DebugLvl = 0;
 
-int            DateStyle = USE_POSTGRES_DATES;
+int            DateStyle = USE_ISO_DATES;
 bool       EuroDates = false;
 bool       HasCTZSet = false;
 bool       CDayLight = false;