From: | David Johnston <polobo(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Recursive function |
Date: | 2013-11-22 21:15:34 |
Message-ID: | 1385154934553-5779886.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Juan Daniel Santana Rodés wrote
> Hi everyone...
> I have a problem. I am programming a recursive function in plpgsql
> language. This function use a cursor and when the function try to call
> the same function throw a exception that it say me that the cursor is
> using.
> My friends how I can to resolve this problem.
> Regards!!
You probably will have to avoid solving your problem in this way and try
something different.
If you share the problem and your failed solution attempt others probably
will chime in and provide suggestions.
It is possible that a "refcursor" will work, one where you simply call FETCH
and never attempt to re-open it, will meet your needs though. I am not that
experienced in that particular programming paradigm though.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Recursive-function-tp5779882p5779886.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2013-11-22 21:19:04 | Re: [GENERAL] pg_upgrade ?deficiency |
Previous Message | Bruce Momjian | 2013-11-22 21:09:30 | Re: pg_upgrade ?deficiency |