Re: TABLE tab completion

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TABLE tab completion
Date: 2011-09-25 13:06:47
Message-ID: CAEZATCXM=ymg81Lrxg-+GGhTrJuhVDecoZMbORn0frZTSi-+Uw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24 September 2011 11:59, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message panam 2011-09-25 13:17:23 Re: fix for pg_upgrade
Previous Message Dean Rasheed 2011-09-25 13:03:19 Re: Inserting heap tuples in bulk in COPY