Syntax incorrect for psql 9.6

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: atp(at)fastmail(dot)fm
Subject: Syntax incorrect for psql 9.6
Date: 2019-09-03 03:33:17
Message-ID: 156748159745.1118.15515709620109809195@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2019-09-03 04:07:17 Re: kilobyte unit spelled "K bytes"
Previous Message Alvaro Herrera 2019-09-02 15:07:02 Re: Consolidation of first figures