pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: atp@fastmail.fm
Subject: Syntax incorrect for psql 9.6
Date: Tue, 03 Sep 2019 03:33:17 +0000
Message-ID: <156748159745.1118.15515709620109809195@wrigleys.postgresql.org> (raw)

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


view thread (2+ messages)  latest in thread

Message-ID: <156748159745.1118.15515709620109809195@wrigleys.postgresql.org>
Permalink:  ../156748159745.1118.15515709620109809195@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/156748159745.1118.15515709620109809195@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, atp@fastmail.fm
  Subject: Re: Syntax incorrect for psql 9.6
  In-Reply-To: <156748159745.1118.15515709620109809195@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox