Re: [HACKERS] Warning for undefined cursor

2003-07-30 Thread Bruce Momjian
Peter, you have brought up some good items recently. Are you going to handle them or do you want them added to the TODO list or 7.4 open items list. --- Peter Eisentraut wrote: > In backend/commands/portalcmds.c we have >

Re: [HACKERS] Warning for undefined cursor

2003-07-28 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > In backend/commands/portalcmds.c we have > /* FIXME: shouldn't this be an ERROR? */ > The effect of this is that you can fetch from an undefined cursor and > (successfully) get zero rows plus this warning. I propose that we change > this to a

[HACKERS] Warning for undefined cursor

2003-07-28 Thread Peter Eisentraut
In backend/commands/portalcmds.c we have /* FIXME: shouldn't this be an ERROR? */ ereport(WARNING, (errcode(ERRCODE_UNDEFINED_CURSOR), errmsg("portal \"%s\" does not exist", stmt->portalname))); The effect of this is that you can fetch from an unde