CLOSE command tag - Mailing list pgsql-hackers

From Neil Conway
Subject CLOSE command tag
Date
Msg-id 1050988725.370.26.camel@tokyo
Whole thread Raw
Responses Re: CLOSE command tag
Re: CLOSE command tag
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: "S -"
Date:
Subject: The main 'main() ' of postgresql.
Next
From: Neil Conway
Date:
Subject: Re: The main 'main() ' of postgresql.