Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0r6F-0002nw-Rp for pgsql-bugs@arkaria.postgresql.org; Thu, 12 May 2016 13:56:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0r6F-0003vu-Et for pgsql-bugs@arkaria.postgresql.org; Thu, 12 May 2016 13:56:23 +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_2) (envelope-from ) id 1b0lve-0006dX-Pm for pgsql-bugs@postgresql.org; Thu, 12 May 2016 08:25:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0lvb-0008RR-Dc for pgsql-bugs@postgresql.org; Thu, 12 May 2016 08:25:06 +0000 MIME-Version: 1.0 Subject: BUG #14135: SQL command "analyse" is undocumented To: pgsql-bugs@postgresql.org From: ville@torhonen.fi Date: Thu, 12 May 2016 08:24:09 +0000 Message-ID: <20160512082409.2608.93471@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 14135 Logged by: Ville Törhönen Email address: ville@torhonen.fi PostgreSQL version: 9.5.2 Operating system: CentOS 6.5 Description: Hello, On PostgreSQL 9.5.2 SQL commands "analyze" and "analyse" run exactly the same thing. However, the "analyse" command is completely undocumented. postgres=# \h analyze Command: ANALYZE Description: collect statistics about a database Syntax: ANALYZE [ VERBOSE ] [ table_name [ ( column_name [, ...] ) ] ] postgres=# \h analyse No help available for "analyse". Try \h with no arguments to see available help. Tab completion does not acknowledge "analyse" command. Product documentation [1] states that the command "analyse" is reserved, but "Appendix C: SQL Key Words" is the only page in the whole documentation that mentions the word "analyse". Tested with the following PostgreSQL RPM packages from PostgreSQL yum repository (yum.postgresql.org): postgresql95-libs-9.5.2-1PGDG.rhel6.x86_64 postgresql95-server-9.5.2-1PGDG.rhel6.x86_64 postgresql95-9.5.2-1PGDG.rhel6.x86_64 postgresql95-contrib-9.5.2-1PGDG.rhel6.x86_64 postgresql95-devel-9.5.2-1PGDG.rhel6.x86_64 Regards, Ville [1] http://www.postgresql.org/docs/9.5/static/sql-keywords-appendix.html -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs