"Hubert FONGARNAND" <h(dot)fongarnand(at)fiducial(dot)fr> writes:
> Note that i don't close c1 after returning...
> (c1 should be close automatically because it is declared inside my
What makes you think that?
If we forcibly closed cursors at function exit, it'd be impossible to
return a cursor reference, which is a very handy feature.
regards, tom lane
In response to
pgsql-bugs by date
|Next:||From: Jaime Casanova||Date: 2005-11-25 15:58:55|
|Subject: Re: BUG #2069: Cursors are not close outside of a function|
|Previous:||From: Tom Lane||Date: 2005-11-25 15:34:24|
|Subject: Re: BUG #2070: Encoding dependent error in comparison operators |