npgsql - Npgsql2: Added patch from Patrick Earl. - Mailing list pgsql-committers

From fxjr@pgfoundry.org (User Fxjr)
Subject npgsql - Npgsql2: Added patch from Patrick Earl.
Date
Msg-id 20110711133321.2CAA1532C51E@pgfoundry.org
Whole thread Raw
List 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.
Theonly 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'tdo 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)

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: Reset ALTER TABLE lock levels to AccessExclusiveLock in all case
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Improve wording of documentation on default privileges.