Re: psql tab completion for SELECT
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>, hubert depesz lubaczewski <depesz@depesz.com>
Date: 2012-02-10T13:54:07Z
Lists: pgsql-hackers
2012/2/10 Robert Haas <robertmhaas@gmail.com>: > 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( +1 Pavel > > -- > Robert Haas > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers