Re: psql tab completion for SELECT
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, hubert depesz lubaczewski <depesz@depesz.com>
Date: 2012-02-13T21:21:48Z
Lists: pgsql-hackers
On tor, 2012-02-09 at 23:02 +0100, Dimitri Fontaine wrote: > Peter Eisentraut <peter_e@gmx.net> writes: > > Make tab-completion complete also function names – like: SELECT > > pg_get<tab><tab> to see all functions that start with pg_get. > > > > Make tab-completion work for columns in SELECT. I know that when writing > > SELECT clause, psql doesn’t know which table it will deal with, but it > > could search through all the columns in database. > > > > That seems pretty useful, and it's more or less a one-line change, as in > > the attached patch. > > Does that includes support for completing SRF functions in the FROM clause? No, that's an entirely different issue.