summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart2000-02-16 17:25:49 +0000
committerThomas G. Lockhart2000-02-16 17:25:49 +0000
commitc97672b08325d722cf5807ffede9fd31ee070f72 (patch)
treec8f9a4675d46c0295585ac94d4cb5c9f5c1c7497
parent35ba9de276150fd3d589509a86ae651924f34cb3 (diff)
Make ISO date style (e.g. "2000-02-16 09:33") the default.
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.
-rw-r--r--src/backend/utils/init/globals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c
index 8558aae59c7..5170be28615 100644
--- a/src/backend/utils/init/globals.c
+++ b/src/backend/utils/init/globals.c
@@ -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;