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

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Fixed problem when calling functions with inout or
Date: 2008-02-25 05:53:52
Message-ID: 20080225055352.851F117ADCD8@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dim 2008-02-25 14:11:34 pgloader - pgloader: Don't wait for non started threads (PGLoader init
Previous Message User Carvalho 2008-02-24 15:41:02 pllua - pllua: Added regression tests, row stamp for functions, and