[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5140 - trunk/gnue-common/src/schema/scripter/processors
From: |
johannes |
Subject: |
r5140 - trunk/gnue-common/src/schema/scripter/processors |
Date: |
Sat, 21 Feb 2004 10:32:52 -0600 (CST) |
Author: johannes
Date: 2004-02-21 10:32:50 -0600 (Sat, 21 Feb 2004)
New Revision: 5140
Modified:
trunk/gnue-common/src/schema/scripter/processors/postgresql.py
Log:
Changed datatype 'datetime' to 'timestamp without time zone' in the PostgreSQL
processor.
Modified: trunk/gnue-common/src/schema/scripter/processors/postgresql.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/postgresql.py
2004-02-19 13:21:01 UTC (rev 5139)
+++ trunk/gnue-common/src/schema/scripter/processors/postgresql.py
2004-02-21 16:32:50 UTC (rev 5140)
@@ -113,6 +113,17 @@
# ---------------------------------------------------------------------------
+ # Change 'datetime' to 'timestamp'
+ # ---------------------------------------------------------------------------
+
+ def datetime (self, gsField):
+ """
+ PostgreSQL uses a 'timestamp' for date with time values
+ """
+ return "timestamp without time zone"
+
+
+ # ---------------------------------------------------------------------------
# Set the client encoding as requested by the scripter
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5140 - trunk/gnue-common/src/schema/scripter/processors,
johannes <=