pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Sescu (Suva) <william.sescu@suva.ch>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: AW: REINDEX VERBOSE DATABASE not working
Date: Wed, 3 Jul 2019 19:43:21 +0000
Message-ID: <a007fd9297c349e4896166cd5d447e81@suva.ch> (raw)
In-Reply-To: <CAKFQuwb2A_1LotRwexbb4r6CGCj3mPYAMvEXJBtrW-WMb9czxg@mail.gmail.com>
References: <da27115b57ec4109b68a5825f34df790@suva.ch>
	<CAPfkCSB5wWjh5uabEj-uH8+km_wggLBYid9KE3UdSTeTRV0gsg@mail.gmail.com>
	<CAFpscORRnDKc+OZzPhPwHDLCve7Z23w2S48BeCztnbbKU5-WPw@mail.gmail.com>
	<CAKFQuwb2A_1LotRwexbb4r6CGCj3mPYAMvEXJBtrW-WMb9czxg@mail.gmail.com>

Thanks for clarification. The REINDEX (VERBOSE) DATABASE xxx; works.
However, the syntax is not intuitive, from my point of view.
And TAB completion does not show you the (VERBOSE) option either.

e.g. if you press two times TAB, it does not show you the VERBOSE option

(postgres@[local]:55000)[knowledgebase]> REINDEX [TAB] [TAB]
DATABASE  INDEX     SCHEMA    SYSTEM    TABLE

Would it not be possible to allow 2 options. One with (VERBOSE) for backward compatibility and one with VERBOSE

Von: David G. Johnston [mailto:david.g.johnston@gmail.com]
Gesendet: Mittwoch, 3. Juli 2019 18:22
An: Avin Kavish <avinkavish@gmail.com>
Cc: Fabrízio de Royes Mello <fabrizio@timbira.com.br>; Sescu William (SW0) <william.sescu@suva.ch>; pgsql-admin@postgresql.org
Betreff: Re: REINDEX VERBOSE DATABASE not working

On Wed, Jul 3, 2019 at 8:56 AM Avin Kavish <avinkavish@gmail.com<mailto:avinkavish@gmail.com>> wrote:
That looks like a pretty bad syntax to require brackets around a keyword that has no contextual ambiguity.

Future pacing and overall consistency.

Here's a link to the relevant discussion:
https://www.postgresql.org/message-id/flat/CAD21AoA0pK3YcOZAFzMae%2B2fcc3oGp5zoRggDyMNg5zoaWDhdQ%40m...

David J.

________________________________

Disclaimer:

Diese Nachricht und ihr eventuell angehängte Dateien sind nur für den Adressaten bestimmt. Sie kann vertrauliche oder gesetzlich geschützte Daten oder Informationen beinhalten. Falls Sie diese Nachricht irrtümlich erreicht hat, bitten wir Sie höflich, diese unter Ausschluss jeglicher Reproduktion zu löschen und die absendende Person zu benachrichtigen. Danke für Ihre Hilfe.

This message and any attached files are for the sole use of the recipient named above. It may contain confidential or legally protected data or information. If you have received this message in error, please delete it without making any copies whatsoever and notify the sender. Thank you for your assistance.


Attachments:

  smime.p7s (application/pkcs7-signature, 5.3K) download

view thread (2+ messages)  latest in thread

Message-ID: <a007fd9297c349e4896166cd5d447e81@suva.ch>
Permalink:  ../a007fd9297c349e4896166cd5d447e81@suva.ch/
Also on:    postgresql.org/message-id/a007fd9297c349e4896166cd5d447e81@suva.ch

 · 

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-admin@postgresql.org
  Cc: william.sescu@suva.ch
  Subject: Re: AW: REINDEX VERBOSE DATABASE not working
  In-Reply-To: <a007fd9297c349e4896166cd5d447e81@suva.ch>

* 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