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