Is there a reason for this behavior?
nconway=# begin;
BEGIN
nconway=# declare foo cursor for select 1;
DECLARE CURSOR
nconway=# close foo;
CLOSE CURSOR
nconway=# close cursor foo;
ERROR: parser: parse error at or near "foo" at character 14
(i.e. the CLOSE command tag is "CLOSE CURSOR", which doesn't even appear
to be a command)
Cheers,
Neil