diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-12-05 11:33:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-12-05 11:38:11 +0200 |
commit | 8cb28e3ac9dd857fbd826be1ca4f9bbfea2124f7 (patch) | |
tree | a1e191cfe7f6cb3a1cd9cad7bb78c27fc10e84ae | |
parent | a5c72d0f4aa5e03fd6f7a93ad3dbd7d8da997a17 (diff) |
Handle microsecond resolution in PostgreSQL Qt date-time mappings
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | doc/manual.xhtml | 7 |
2 files changed, 4 insertions, 7 deletions
@@ -34,6 +34,10 @@ Version 1.7.0 get object id without loading the object. For more information, refer to Section 4.4 "Query Result" in the ODB manual. + * Support for microsecond precision in the Boost and Qt date-time types + mapping to PostgreSQL date-time data types. Additionally, Qt QDateTime + values stored in a PostgreSQL database can now be before UNIX epoch. + Version 1.6.0 * New concept, view, is a C++ class that embodies a light-weight, read- diff --git a/doc/manual.xhtml b/doc/manual.xhtml index 8296aea..72c1ce3 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -14206,13 +14206,6 @@ class Person <code>QDateTime</code> types are stored as a NULL value if their <code>isNull()</code> member function returns true.</p> - <p>Some valid Qt date-time values cannot be stored in a PostgreSQL database. - An attempt to persist a <code>QDateTime</code> value representing a - negative UNIX time (any point in time prior to the - 1970-01-01 00:00:00 UNIX time epoch) as a PostgreSQL - <code>TIMESTAMP</code> will result in the <code>out_of_range</code> - exception.</p> - <h3><a name="19.4.4">19.4.4 Oracle Database Type Mapping</a></h3> <p>The following table summarizes the default mapping between the currently |