Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?
Дата
Msg-id 28616.1067377739@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [BUGS] Autocomplete on Postgres7.4beta5 not  (Jon Jensen <jon@endpoint.com>)
Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?  (Ian Barwick <barwick@gmx.net>)
Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?  (Andrew Dunstan <andrew@dunslane.net>)
Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?  (Alvaro Herrera Munoz <alvherre@dcc.uchile.cl>)
Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Gaetano Mendola <mendola@bigfoot.com> writes:
> I'm esperiencing problem with the <TAB> autocomplete on
> postgres 7.4beta5:

> #select * from pg_l<TAB><TAB>
> and no suggestions out.

This appears to have been a deliberate change:

2003-03-27 11:45  momjian
* src/bin/psql/tab-complete.c: Attached are two patches for psql'stab-completion.c.       [snip]
Note that tables, indexes, views and sequences relations in the'pg_catalog' namespace are excluded even though they are
inthecurrent search path. I found not doing this produced annoyingbehaviour when expanding names beginning with 'p'.
Peoplewho workwith system tables a lot may not like this though; I can look foranother solution if necessary.Ian
Barwick

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?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql copy help
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] Autocomplete on Postgres7.4beta5 not working?