Re: REINDEX VERBOSE DATABASE not working

From: Avin Kavish <avinkavish(at)gmail(dot)com>
To: Fabrízio de Royes Mello <fabrizio(at)timbira(dot)com(dot)br>
Cc: "William Sescu (Suva)" <william(dot)sescu(at)suva(dot)ch>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: REINDEX VERBOSE DATABASE not working
Date: 2019-07-03 15:56:03
Message-ID: CAFpscORRnDKc+OZzPhPwHDLCve7Z23w2S48BeCztnbbKU5-WPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

That looks like a pretty bad syntax to require brackets around a keyword
that has no contextual ambiguity.

On Wed, Jul 3, 2019 at 7:44 PM Fabrízio de Royes Mello <
fabrizio(at)timbira(dot)com(dot)br> wrote:

> Em qua, 3 de jul de 2019 às 11:09, William Sescu (Suva) <
> william(dot)sescu(at)suva(dot)ch> escreveu:
>
>> Hello %
>>
>>
>>
>> Regarding the Docs
>>
>>
>>
>> https://www.postgresql.org/docs/11/sql-reindex.html
>>
>>
>>
>> and due to the REINDEX syntax, I should be able to specify VERBOSE when I
>> run the REINDEX command, to print a progress report.
>>
>>
>>
>> (postgres(at)[local]:55000)[knowledgebase]> \h REINDEX
>>
>> Command: REINDEX
>>
>> Description: rebuild indexes
>>
>> Syntax:
>>
>> REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM }
>> name
>>
>>
>>
>> But it is not working.
>>
>>
>>
>> (postgres(at)[local]:55000)[knowledgebase]> REINDEX VERBOSE DATABASE
>> knowledgebase;
>>
>> ERROR: syntax error at or near "VERBOSE"
>>
>> LINE 1: REINDEX VERBOSE DATABASE knowledgebase;
>>
>> ^
>>
>>
>>
>> Can somebody help me out regarding this issue.
>>
>>
>>
>
> Your syntax is wrong. Try:
>
> REINDEX (VERBOSE) DATABASE knowledgebase;
>
> Regards
>
> --
> Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
> PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2019-07-03 16:21:33 Re: REINDEX VERBOSE DATABASE not working
Previous Message Standard Keyboard 2019-07-03 14:19:03 Fwd: Alternative to pg_lsclusters in RHEL/CentOS?