Thread: npgsql - Npgsql: Fixed problem when calling functions with inout or

npgsql - Npgsql: Fixed problem when calling functions with inout or

From
fxjr@pgfoundry.org (User Fxjr)
Date:
Log Message:
-----------


Fixed problem when calling functions with inout or out parameters. They
were being incorrectly added with a column list which was complained by
postgresql server: ERROR: 42601: a column definition list is only
allowed for functions returning "record". See
http://pgfoundry.org/forum/forum.php?thread_id=1075&forum_id=519 for
discussion about this. Thanks very much to Anton Andreev (fn30762
at fmi dot uni-sofia dot bg) for his help providing test cases.

Backported from Npgsql2.
See: http://pgfoundry.org/forum/message.php?msg_id=1004282

Modified Files:
--------------
    Npgsql/src/Npgsql:
        NpgsqlCommand.cs (r1.105 -> r1.106)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.105&r2=1.106)