Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRHff-0002Db-RA for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 11:01:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRHfe-0000ZP-Uh for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 11:01:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRHeg-0007uF-IP for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 11:00:54 +0000 Received: from fr1.2ndquadrant.fr ([2001:41d0:2:127c::1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRHed-0008Cq-KM for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 11:00:54 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by fr1.2ndquadrant.fr (Postfix) with ESMTP id 6BBDA6D83E; Thu, 4 Feb 2016 12:00:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at fr1.2ndquadrant.fr Received: from fr1.2ndquadrant.fr ([127.0.0.1]) by localhost (fr1.2ndquadrant.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OVCv0IzVp_hm; Thu, 4 Feb 2016 12:00:47 +0100 (CET) Received: from [192.168.0.3] (ath91-3-88-167-161-184.fbx.proxad.net [88.167.161.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: charles) by fr1.2ndquadrant.fr (Postfix) with ESMTPSA id DDB0A6D83D; Thu, 4 Feb 2016 12:00:46 +0100 (CET) Subject: Re: [GENERAL] Q: documentation bug ? To: Karsten Hilbert , pgsql-sql@postgresql.org References: <20160204105318.GD22591@hermes.hilbert.loc> From: Vik Fearing Message-ID: <56B32F5D.5090009@2ndquadrant.fr> Date: Thu, 4 Feb 2016 12:00:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160204105318.GD22591@hermes.hilbert.loc> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 02/04/2016 11:53 AM, Karsten Hilbert wrote: > Hello all, > > the online documentation for REINDEX > > http://www.postgresql.org/docs/9.5/static/sql-reindex.html > > talks about VERBOSE > > Synopsis > > REINDEX [ ( { VERBOSE } [, ...] ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } name > > [...] > > VERBOSE > > Prints a progress report as each index is reindexed. > > but > > gnumed_v21=> reindex verbose database 'gnumed_v21'; > ERROR: syntax error at or near "verbose" > ZEILE 1: reindex verbose database 'gnumed_v21'; > > Does this constitute a bug in the documentation or in the Debian version of PG ? Neither. It's a little bit obscure because {} and [] mean special things, but () doesn't. The syntax is therefore: REINDEX (VERBOSE) DATABASE gnumed_v21; -- Vik Fearing +33 6 46 75 15 36 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql