| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Dave Cramer <Dave(at)micro-automation(dot)net> |
| Cc: | Richard Emberson <emberson(at)phc(dot)net>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: refcursor returned by pl/psql to jdbc |
| Date: | 2002-04-11 16:19:18 |
| Message-ID: | 200204111619.g3BGJI305260@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Dave Cramer wrote:
> Richard,
>
> The problem is that the cursor is un-named. Is there a way to name the
> cursor? jdbc doesn't know what to do with a column named <unnamed cursor
> 1>
Yes, you can name the cursor. See my new doc section at the bottom of:
http://developer.postgresql.org/docs/postgres/plpgsql-cursors.html
You have to pass the cursor name into the function.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tony | 2002-04-11 17:23:37 | Re: taglib help |
| Previous Message | Dave Cramer | 2002-04-11 14:29:44 | Re: refcursor returned by pl/psql to jdbc |