Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRO9P-0004mR-JB for pgsql-general@arkaria.postgresql.org; Thu, 04 Feb 2016 17:57:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRO9P-0000gs-5v for pgsql-general@arkaria.postgresql.org; Thu, 04 Feb 2016 17:57:03 +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 1aRO9O-0000gT-EV for pgsql-general@postgresql.org; Thu, 04 Feb 2016 17:57:02 +0000 Received: from [2600:3c02::f03c:91ff:fe70:c491] (helo=apinaye.timbira.com.br) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aRO9L-0000bu-Lf for pgsql-general@postgresql.org; Thu, 04 Feb 2016 17:57:02 +0000 Received: by apinaye.timbira.com.br (Postfix, from userid 110) id 66147173E13; Thu, 4 Feb 2016 15:56:57 -0200 (BRST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on apinaye X-Spam-Level: X-Spam-Status: No, score=-100.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_AHBL_RHSBL, URIBL_BLOCKED, USER_IN_WHITELIST autolearn=no version=3.3.1 Received: from [192.168.1.84] (unknown [186.215.25.98]) by apinaye.timbira.com.br (Postfix) with ESMTPSA id D1467173E03 for ; Thu, 4 Feb 2016 15:56:56 -0200 (BRST) Reply-To: fabrizio@timbira.com.br Subject: Re: [SQL] Q: documentation bug ? References: <20160204105318.GD22591@hermes.hilbert.loc> To: pgsql-general@postgresql.org From: =?UTF-8?Q?Fabr=c3=adzio_de_Royes_Mello?= Organization: Timbira Message-ID: <56B390E6.3000007@timbira.com.br> Date: Thu, 4 Feb 2016 15:56:54 -0200 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="THoNHAiGOLLUxTGppF8eL3pG1SGiwhhuo" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2600:3c02::f03c:91ff:fe70:c491 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --THoNHAiGOLLUxTGppF8eL3pG1SGiwhhuo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04-02-2016 08:53, Karsten Hilbert wrote: > Hello all, >=20 > the online documentation for REINDEX >=20 > http://www.postgresql.org/docs/9.5/static/sql-reindex.html >=20 > talks about VERBOSE >=20 > Synopsis >=20 > REINDEX [ ( { VERBOSE } [, ...] ) ] { INDEX | TABLE | SCHEMA | DATABAS= E | SYSTEM } name >=20 > [...] >=20 > VERBOSE >=20 > Prints a progress report as each index is reindexed. >=20 > but >=20 > root@hermes:~/bin# psql -d gnumed_v21 -U gm-dbo > Ausgabeformat ist =E2=80=9Ewrapped=E2=80=9C. > Erweiterte Anzeige ist an. > psql (9.5.0) > Geben Sie =E2=80=9Ehelp=E2=80=9C f=C3=BCr Hilfe ein. >=20 > gnumed_v21=3D> select version(); > -[ RECORD 1 ]---------------------------------------------------------= ---------------------------------- > version | PostgreSQL 9.5.0 on i686-pc-linux-gnu, compiled by gcc (Debi= an 5.3.1-5) 5.3.1 20160101, 32-bit >=20 > gnumed_v21=3D> reindex > DATABASE INDEX SCHEMA SYSTEM TABLE >=20 > gnumed_v21=3D> reindex verbose database 'gnumed_v21'; > ERROR: syntax error at or near "verbose" > ZEILE 1: reindex verbose database 'gnumed_v21'; > ^ > gnumed_v21=3D> >=20 > Does this constitute a bug in the documentation or in the Debian versio= n of PG ? >=20 You forgot to add the "(" and ")" around the "VERBOSE" statement acoording the syntax. Try this: REINDEX (VERBOSE) DATABASE gnumed_v21; Regards, --=20 Fabr=C3=ADzio de Royes Mello Timbira - http://www.timbira.com.= br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento --THoNHAiGOLLUxTGppF8eL3pG1SGiwhhuo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWs5DmAAoJEB+zkK61YqnEvVUH/2DA5Ebo/tWKIX5bdKkNJL4O DFC5/dYWrNviMSh5DkdQByO4qwZNg7wYTgsJ0ixjpMgBVWSoLOfAZ142WetwwEkJ AH/A83hax4sHTTxo3+dIFHvSaWNWULTD+lSDZz1rhOZ9DJqflZLGa40v0bH39VQE K4Y4hqRPj55gqoQ2kk/N3prHlubueA74WlxRrT1vJZmzvP6Ly+yVlDGDIABxkEZz wtII2SqT5wOmx/6x8rv9d2aSSZzms+OExXNyV82JroJXASPsmyPMfrP8w2tllP/F qtdNcBObL6kSxLLp+oC4W4xIVSshEhMv1q6g+cOwr1/5MnUSQj1vn3GA7hXWz24= =bKOJ -----END PGP SIGNATURE----- --THoNHAiGOLLUxTGppF8eL3pG1SGiwhhuo--