Syntax incorrect for psql 9.6

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Syntax incorrect for psql 9.6
Дата
Msg-id 156748159745.1118.15515709620109809195@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Syntax incorrect for psql 9.6  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/sql-reindex.html
Description:

For the REINDEX DATABASE command, the documentation suggests REINDEX
DATABASE databaseName, however my experience suggests this does not work;
the database name must be quoted:

sonarDB=# \c sonarDB;
You are now connected to database "sonarDB" as user "sonarUser".
sonarDB=# REINDEX DATABASE sonarDB;
ERROR:  can only reindex the currently open database
sonarDB=# REINDEX DATABASE "sonarDB";
REINDEX

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Consolidation of first figures
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: kilobyte unit spelled "K bytes"