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

From Dimitri Fontaine
Subject Re: psql tab completion for SELECT
Date
Msg-id m262ff7ji1.fsf@2ndQuadrant.fr
Whole thread Raw
In response to psql tab completion for SELECT  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql tab completion for SELECT  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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?

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Jesper Krogh
Date:
Subject: Re: index-only quals vs. security_barrier views
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: xlog location arithmetic