Re: BUG #14135: SQL command "analyse" is undocumented

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "ville(at)torhonen(dot)fi" <ville(at)torhonen(dot)fi>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14135: SQL command "analyse" is undocumented
Date: 2016-05-12 23:47:54
Message-ID: CAB7nPqTjA2FLqAbFmqErf6vjaiBOv3-asegvpD76OT0nZHQCQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, May 12, 2016 at 11:05 PM, David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> The alias should be documented but I would not think it should be part of
> tab completion.
>
> I'd probably add a note to the analyze areas and, for \h analyse, redirect
> to analyze.
>
> I think altering the syntax would just be noise for little gain. My goal is
> if someone sees or types analyse they at least know it's intended behavior
> and indeed an alias.
>
> Not at a terminal now but hopefully the analyze option to vacuum and explain
> behave similarly...

Some history shows up that:
commit: ebe0b236909732c75d665c73363bd4ac7a7aa138
author: Bruce Momjian <bruce(at)momjian(dot)us>
date: Wed, 8 Nov 2000 21:28:06 +0000
Add ANALYSE spelling of ANALYZE for vacuum.

I am not sure that it is worth complicating the docs for the British
spelling of this word.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-05-13 00:15:17 Re: BUG #14135: SQL command "analyse" is undocumented
Previous Message David G. Johnston 2016-05-12 14:05:42 Re: BUG #14135: SQL command "analyse" is undocumented