Skip site navigation (1) Skip section navigation (2)

Re: BUG #5479: PosgreSQL Documentation does not mention OPEN

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Kurt wagner <kurt(dot)wagner(at)leoni(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5479: PosgreSQL Documentation does not mention OPEN
Date: 2010-05-28 09:20:37
Message-ID: 4BFF8AE5.1090607@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On 28/05/10 12:06, Kurt wagner wrote:
> When checking the Web Site
> http://www.postgresql.org/docs/8.4/static/sql-commands.html
>
> I recognized that the commands "declare" and "close" are documented, but I
> failed to find "open".

OPEN is not an SQL command like DECLARE and CLOSE. It is part of 
PL/pgSQL and will only work within a PL/pgSQL function, it is documented 
at 
http://www.postgresql.org/docs/8.4/static/plpgsql-cursors.html#PLPGSQL-CURSOR-OPENING.

Also note that PL/pgSQL's DECLARE and CLOSE are different from the SQL 
commands DECLARE and CLOSE.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

pgsql-bugs by date

Next:From: Jasen BettsDate: 2010-05-28 10:26:03
Subject: Re: BUG #5476: sequence corruption
Previous:From: Kurt wagnerDate: 2010-05-28 09:06:05
Subject: BUG #5479: PosgreSQL Documentation does not mention OPEN

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group