Search Postgresql Archives

Re: Recursive function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux