X-Original-To: pgsql-general@postgresql.org Received: from gromit.nextelpartners.com (unknown [63.113.240.126]) by postgresql.org (Postfix) with ESMTP id 6A7354758F1 for ; Thu, 13 Mar 2003 16:42:29 -0500 (EST) Received: from nextelpartners.com (gromit [10.10.1.2]) by gromit.nextelpartners.com (8.11.6+Sun/8.10.2) with ESMTP id h2DLgJ619137 for ; Thu, 13 Mar 2003 15:42:20 -0600 (CST) Message-ID: <3E70FB3B.2050502@nextelpartners.com> Date: Thu, 13 Mar 2003 15:42:19 -0600 From: Petre Scheie User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020918 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: PL/Java (was: stored procedures) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200303/676 X-Sequence-Number: 39168 My DBA and I looked at the link on using SQL for stored procedures (thanks Neil!) and he raised a couple concerns: 1. In the example given, the query is directed at just one table; he says he needs to join multiple tables, and have it return a set. Can PG do this? 2. The docs say this ability to return a set is deprecated and may be removed in a future release. Why is that? Has this functionality been replaced by something else (better?) Sorry if these are really dumb questions. We're trying to use pg (instead of O or SS) but we're new to it. TIA Petre Neil Conway wrote: http://pljava.sourceforge.net/ Interesting -- I did a quick search on sourceforge, but I guess it was a bit too quick. BTW, you can also write stored procedures in Ruby, C, and SQL. I wasn't aware of Ruby, but I don't know how I could possibly have forgotten to mention C and SQL! I wonder if we shouldn't have a spot on techdocs with links to all of the Postgres PLs all in one place? It makes for an impressive list; for the record: Available PostgreSQL Procedural Languages ========================================== C http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/xfunc-c.html SQL http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/xfunc-sql.html PL/pgSQL http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/plpgsql.html PL/Perl http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/plperl.html PL/Tcl http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/pltcl.html PL/Python http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/plpython.html PL/sh http://webmail.postgresql.org/~petere/plsh.html PL/R http://www.joeconway.com/plr/ PL/Java http://pljava.sourceforge.net/ PL/Ruby http://raa.ruby-lang.org/list.rhtml?name=pl-ruby ========================================== Joe ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html