npgsql - Npgsql2: Reverted search_path patch to original as proposed - Mailing list pgsql-committers

From fxjr@pgfoundry.org (User Fxjr)
Subject npgsql - Npgsql2: Reverted search_path patch to original as proposed
Date
Msg-id 20080130220115.93A5417AD0DC@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------


Reverted search_path patch to original as proposed by Andrus Moor with an slightly modification to use = instead of TO.
Seehere: http://pgfoundry.org/forum/message.php?msg_id=1002859 for discussion. 

Added check for semicolon (;) in searchpath connection string parameter to prevent from a sql injection attack.

Now, public schema isn't added automatically anymore. User has to add it if she sets search_path in connection string.

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlConnector.cs (r1.11 -> r1.12)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs.diff?r1=1.11&r2=1.12)

pgsql-committers by date:

Previous
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Added support for parameters explicit typing on plain
Next
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Fix test that wrongly excluded some dumpbin symbols.