Re: psql tab completion for SELECT - Mailing list pgsql-hackers

From Robert Haas
Subject Re: psql tab completion for SELECT
Date
Msg-id CA+TgmoY7wRGgBbFhKwfASqrNOPwZwCjfm1AhL82769Xx-SyduA@mail.gmail.com
Whole thread Raw
In response to Re: psql tab completion for SELECT  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql tab completion for SELECT
Re: psql tab completion for SELECT
Re: psql tab completion for SELECT
List pgsql-hackers
On Fri, Feb 10, 2012 at 1:24 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> That seems pretty useful, and it's more or less a one-line change, as in
>> the attached patch.
>
> That seems pretty nearly entirely bogus.  What is the argument for
> supposing that the word right after SELECT is a function name?  I would
> think it would be a column name (from who-knows-what table) much more
> often.

It isn't necessarily, but it might be.  It'd certainly be nice to type:

SELECT pg_si<TAB>

and get:

SELECT pg_size_pretty(

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Shigeru Hanada
Date:
Subject: Re: WIP: Collecting statistics on CSV file data
Next
From: Pavel Stehule
Date:
Subject: Re: psql tab completion for SELECT