Re: psql's \d commands --- end of the line for

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql's \d commands --- end of the line for
Date: 2002-12-10 20:04:07
Message-ID: Pine.LNX.4.44.0212101942400.25355-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera writes:

> Would it work to make \d tab-completable in a way that showed both the
> commands that are available and the objects they describe? e.g.
>
> \d<tab> would show something like
> \dt [tables] \ds [sequences] \dv [views] ...

That won't work. The actual completion and the view of the alternatives
if the completion is ambiguous is driven by the same data.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-12-10 20:04:59 Re: psql's \d commands --- end of the line for 1-character identifiers?
Previous Message Tom Lane 2002-12-10 20:03:05 Re: psql's \d commands --- end of the line for 1-character identifiers?

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2002-12-10 20:04:59 Re: psql's \d commands --- end of the line for 1-character identifiers?
Previous Message Tom Lane 2002-12-10 20:03:05 Re: psql's \d commands --- end of the line for 1-character identifiers?