Re: REINDEX VERBOSE unknown option

From: Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: REINDEX VERBOSE unknown option
Date: 2019-12-13 01:11:06
Message-ID: CAFp7QwqFYcHiARfT91rOQj=mFT0MWBE+kxEmjfQh3QmRN1UBiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I was thinking about this problem and possible documentation change again
and I have prepared documentation change to solve this. See attached
screenshot and HTML.

Code change can be found at https://github.com/simi/postgres/pull/3 (diff -
https://github.com/simi/postgres/pull/3.diff, patch -
https://github.com/simi/postgres/pull/3.patch).

This change is based on idea of Pave Stěhule, thanks a lot for that!
Similar approach was used recently in
https://www.postgresql.org/docs/devel/sql-dropdatabase.html.

so 16. 11. 2019 v 18:43 odesílatel Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
napsal:

> Ahh, I just tried to do the same with reindexdb cli tool and the
> actual syntax is REINDEX (VERBOSE) TABLE sales; Sorry for unnecessary
> question. Anyway maybe we can add this to documentation as a example. I can
> prepare patch for this if welcomed.
>
> so 16. 11. 2019 v 18:40 odesílatel Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
> napsal:
>
>> Hello,
>>
>> according to https://www.postgresql.org/docs/11/sql-reindex.html VERBOSE
>> option is valid for REINDEX command for 11.3 PostgreSQL server. Anyway I'm
>> getting error using VERBOSE option.
>>
>> project_production=# REINDEX VERBOSE TABLE sales;
>> ERROR: syntax error at or near "VERBOSE"
>> LINE 1: REINDEX VERBOSE TABLE sales;
>>
>> Time: 0.235 ms
>>
>> I'm wondering if I'm doing anything wrong or actual documentation is
>> wrong. Any ideas?
>>
>

Attachment Content-Type Size
REINDEX.html text/html 35.1 KB
screenshot--2019.12.13-02_03_50.png image/png 2.4 MB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2019-12-13 06:50:29 Re: wait event docs
Previous Message Jeremy Schneider 2019-12-12 22:07:14 wait event docs