npgsql - Npgsql2: Added patch from Patrick Earl.

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Added patch from Patrick Earl.
Date: 2011-07-11 13:33:21
Message-ID: 20110711133321.2CAA1532C51E@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------

Added patch from Patrick Earl. Thanks, Patrick! http://pgfoundry.org/forum/message.php?msg_id=1014749

This was implemented to support more of the NHibernate test suite. Here is what it does and does not do:

1. It adds support for the "ForeignKeys" collection that uses almost the same format that SqlConnection Server does. The only difference is the deferrable bool columns are actually bools instead of strings.

2. It fixes the restrictions for index and index column schema retrieval.

3. It does not change the index column code to provide the capability of getting the foreign key columns (assuming it doesn't do it already). I didn't have a failing test depending on this, so I didn't check or implement anything here.

http://patearl.net/files/Npgsql2.patch

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlConnection.cs (r1.33 -> r1.34)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnection.cs?r1=1.33&r2=1.34)
NpgsqlSchema.cs (r1.7 -> r1.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlSchema.cs?r1=1.7&r2=1.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-07-11 15:13:52 pgsql: Improve wording of documentation on default privileges.
Previous Message Simon Riggs 2011-07-10 10:30:05 Re: pgsql: Reset ALTER TABLE lock levels to AccessExclusiveLock in all case