SCM

[#1008782] Support for Guid type

View Trackers | Patches | Download .csv | Monitor

Date:
2007-09-03 17:00
Priority:
3
State:
Closed
Submitted by:
David Bachmann (dbachmann)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
Accepted
 
Summary:
Support for Guid type

Detailed description
This patch adds support to the Guid type by using the new native type UUID (Universally Unique Identifiers) provided in PostgreSQL 8.3.

ref: http://developer.postgresql.org/pgdocs/postgres/datatype-uuid.html


Tested on Windows XP with .Net 2.0 against PostgreSQL-8.3-dev1 (Windows binary version from PgInstaller: http://pgfoundry.org/projects/pginstaller/ )

The driver still works under previous versions of PostgreSQL (an exception is thrown if type DbType.Guid is used).


Hope the attached patch will work: It's the first time that I create a patch with CVS under Cygwin...

Followup

Message
Date: 2007-09-28 11:02
Sender: David Bachmann

Patch applied. (on module 'Npgsql2')

Attached Files:

Attachments:
NpgsqlGuidSupport.patch

Changes:

Field Old Value Date By
status_idOpen2007-09-28 11:02dbachmann
ResolutionNone2007-09-28 11:02dbachmann
close_date2007-09-28 11:022007-09-28 11:02dbachmann
File Added239: NpgsqlGuidSupport.patch2007-09-03 17:00dbachmann
Powered By FusionForge