Re: [BUGS] plpgsql does not close cursors when a block ends

2003-11-13 Thread Bruce Momjian
Marcel Gsteiger wrote: > I created a plpgsql function declaring and then using a cursor. > After opening and using this cursor, I forgot to close it. Now > when the function terminates, this cursor remains open. Then, > when I call the function again with other parameters, the OPEN > CURSOR compl

[BUGS] plpgsql does not close cursors when a block ends

2003-11-13 Thread Marcel Gsteiger
Hi, Please find enclosed my description of what I think is probably a bug in plpgsql. Keep up the good work, this is a wonderful product. Best regards Marcel Gsteiger Milprog AG 3001 Berne Switzerland Freundliche GrĂ¼sse Milprog AG Marcel Gsteiger bug.template Description: Binary data BEGIN:VC