Re: Call pl/sql function

From: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
To: Sangyoon Oh <ohsangy(at)cs(dot)indiana(dot)edu>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Call pl/sql function
Date: 2003-03-28 20:21:03
Message-ID: 3E84AEAF.3030608@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Sangyoon Oh wrote:
> Hi,
>
> I am trying to call pl/sql function from jdbc, which is returns a
> table as a result set. Can anyone point out a help document?
> I have a Postgres book by by Ewald Geschwinde, but it doesn't
> cover much over pl/sql issue.
>
> Thanks,
>
> -Sangyoon Oh

When I wrote this text a long long time ago there was no way to work
with table functions yet and PL/pgSQL was not that good either. I hope
you still like the book :).

Here is some information about PL/pgSQL and table functions. You need
"RETURN NEXT".

http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html

Regards,

Hans

--
Cybertec Geschwinde u Schoenig
Ludo-Hartmannplatz 1/14, A-1160 Vienna, Austria
Tel: +43/2952/30706; +43/664/233 90 75<
www.sapdb.at, www.cybertec.at, www.postgresql.at, kernel.cybertec.at

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message pgsql-bugs 2003-03-29 11:15:08 Bug #926: if old postgresql.jar in CLASSPATH, ant fails
Previous Message John Laban 2003-03-28 20:08:25 Re: JDBC with SSL