Re: Autocomplete <TAB> on Postgres7.4beta5 not working?

From: Ian Barwick <barwick(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-bugs(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Autocomplete <TAB> on Postgres7.4beta5 not working?
Date: 2003-10-28 22:12:31
Message-ID: 200310282312.31734.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Tuesday 28 October 2003 22:48, Tom Lane wrote:

> AFAICT there was no discussion about this issue when the patch was
> proposed and applied. But now that the point is raised I have to say
> that I don't like this change. I don't think system catalogs should be
> excluded from tab completion. They never were before 7.4, and I have
> not seen anyone complaining about that, other than Ian.
>
> Comments anyone?

Guilty as charged? ;-)

Just to clarify, the patch enables tab completion for catalog relations
as long as the schema name pg_catalog is prepended. E.g.
\d pg_c[tab].[tab] will get expansion for everything in pg_catalog.

ISTR I found it very irritating that without this restriction
\d p[tab] produces a very large number of selections
for "normal" database work. Looking at a current database, I have about a
dozen of relations beginning with p in the search path which I access with tab
expansion frequently and I'm sure it would annoy me intensely if I got all the
system tables as well every time.

Mind you that's only my personal preference, I thought it might be unpopular
but as no one has commented since... I can submit a correction but not today
or tomorrow.

Ian Barwick
barwick(at)gmx(dot)net

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Dunstan 2003-10-28 22:22:04 Re: [BUGS] Autocomplete <TAB> on Postgres7.4beta5 not working?
Previous Message Tom Lane 2003-10-28 22:09:35 Re: Autocomplete <TAB> on Postgres7.4beta5 not working?

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-10-28 22:22:04 Re: [BUGS] Autocomplete <TAB> on Postgres7.4beta5 not working?
Previous Message Tom Lane 2003-10-28 22:09:35 Re: Autocomplete <TAB> on Postgres7.4beta5 not working?