You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2014/02/02 13:50:35 UTC

svn commit: r1563600 - /cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql

Author: aadamchik
Date: Sun Feb  2 12:50:35 2014
New Revision: 1563600

URL: http://svn.apache.org/r1563600
Log:
PostgreSQL 9 test stored procedure synatax fix.

already on trunk - copied from there

Modified:
    cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql

Modified: cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql?rev=1563600&r1=1563599&r2=1563600&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql (original)
+++ cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/test/resources/ddl/postgresql/create-out-sp.sql Sun Feb  2 12:50:35 2014
@@ -19,6 +19,6 @@
 CREATE OR REPLACE function cayenne_tst_out_proc (IN int4, OUT int4) RETURNS int4
 AS '
 BEGIN
-	return $1 * 2;
+	$2 := $1 * 2;
 END;
 ' LANGUAGE plpgsql;
\ No newline at end of file