CLOSE command tag

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: CLOSE command tag
Date: 2003-04-22 05:18:45
Message-ID: 1050988725.370.26.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-04-22 05:20:11 Re: The main 'main() ' of postgresql.
Previous Message S - 2003-04-22 05:15:12 The main 'main() ' of postgresql.