npgsql - Npgsql2: Data types supporting date ranges outside of those

From: talliesin(at)pgfoundry(dot)org (User Talliesin)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Data types supporting date ranges outside of those
Date: 2008-03-15 02:17:06
Message-ID: 20080315021706.8FD0317ADD53@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Data types supporting date ranges outside of those supported by System.DateTime and the greater variety and detail provided by postgres' date and time datatypes.

Moved Npgsql into the same file, as it is similar in some ways.

Becaues these datatypes can clash with cases where one uses System.DateTime with a DataAdaptor, added a connection string option to choose between the the two.

Also added error handling for the case where System.DateTime is being used, and an unexpected value outside of its range appears in data.

Modified Files:
--------------
Npgsql2/src:
Npgsql.csproj (r1.11 -> r1.12)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql.csproj.diff?r1=1.11&r2=1.12)
Npgsql.sln (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql.sln.diff?r1=1.4&r2=1.5)
Npgsql2/src/NpgsqlTypes:
NpgsqlDbType.cs (r1.9 -> r1.10)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlDbType.cs.diff?r1=1.9&r2=1.10)
NpgsqlTypeConverters.cs (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypeConverters.cs.diff?r1=1.4&r2=1.5)
NpgsqlTypes.cs (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypes.cs.diff?r1=1.5&r2=1.6)
NpgsqlTypesHelper.cs (r1.12 -> r1.13)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypesHelper.cs.diff?r1=1.12&r2=1.13)
Npgsql2/src/Npgsql:
NpgsqlAsciiRow.cs (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlAsciiRow.cs.diff?r1=1.3&r2=1.4)
NpgsqlConnection.cs (r1.18 -> r1.19)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnection.cs.diff?r1=1.18&r2=1.19)
NpgsqlConnectionStringBuilder.cs (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnectionStringBuilder.cs.diff?r1=1.2&r2=1.3)
NpgsqlConnector.cs (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs.diff?r1=1.13&r2=1.14)
NpgsqlDataReader.cs (r1.9 -> r1.10)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlDataReader.cs.diff?r1=1.9&r2=1.10)

Added Files:
-----------
Npgsql2/src/NpgsqlTypes:
DateDatatypes.cs (r1.1)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/DateDatatypes.cs?rev=1.1&content-type=text/x-cvsweb-markup)

Browse pgsql-committers by date

  From Date Subject
Next Message User Jbcooley 2008-03-15 04:22:49 npgsql - Npgsql2: Fix construction of SqlGenerators
Previous Message Tom Lane 2008-03-14 23:49:33 pgsql: Fix inappropriately-timed memory context switch in