Thread: npgsql - Npgsql2: Fixed problem when calling functions with inout or
npgsql - Npgsql2: 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. Modified Files: -------------- Npgsql2/testsuite/noninteractive/NUnit20: CommandTests.cs (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs.diff?r1=1.5&r2=1.6) Npgsql2/testsuite/noninteractive: add_functions.sql (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/add_functions.sql.diff?r1=1.1&r2=1.2) Npgsql2/src/Npgsql: NpgsqlCommand.cs (r1.16 -> r1.17) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.16&r2=1.17)