Re: \h open

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: \h open
Дата
Msg-id 1379352736.19468.YahooMailNeo@web162903.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на \h open  (Oleg Bartunov <obartunov@gmail.com>)
Список pgsql-hackers
Oleg Bartunov <obartunov@gmail.com> wrote:

> I noticed there is nothing available in built-in psql help about
> OPEN command. Does it intentional ?
>
> postgres=# \h open
> No help available for "open".
> Try \h with no arguments to see available help.

PostgreSQL does not include OPEN as a SQL command:

http://www.postgresql.org/docs/current/interactive/sql-commands.html

DECLARE CURSOR opens the cursor immediately.

Some PLs include an OPEN statement, but psql does not have help for all the PLs.

As an example, plpgsql supports OPEN:

http://www.postgresql.org/docs/current/interactive/plpgsql-cursors.html#PLPGSQL-CURSOR-OPENING

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Where to load modules from?
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: record identical operator