Re: TABLE tab completion - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: TABLE tab completion
Date
Msg-id CAEZATCXM=ymg81Lrxg-+GGhTrJuhVDecoZMbORn0frZTSi-+Uw@mail.gmail.com
Whole thread Raw
In response to TABLE tab completion  (Magnus Hagander <magnus@hagander.net>)
Responses Re: TABLE tab completion
List pgsql-hackers
On 24 September 2011 11:59, Magnus Hagander <magnus@hagander.net> wrote:
> TABLE tab completion in psql only completes to tables, not views. but
> the TABLE command works fine for both tables and views (and also
> sequences).
>
> Seems we should just complete it to relations and not tables - or can
> anyone see a particular reason why we shouldn't?
>

Doesn't that mean that "DROP TABLE <tab>" would offer up views as well
as tables, which would be incorrect?

Regards,
Dean


pgsql-hackers by date:

Previous
From: panam
Date:
Subject: Re: fix for pg_upgrade
Next
From: Andres Freund
Date:
Subject: Re: posix_fadvsise in base backups