Re: Fix for psql \d tab completion - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for psql \d tab completion
Date
Msg-id 16005.1239067977@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for psql \d tab completion  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Bruce Momjian wrote:
>> Robert Treat reported to me that \dS tab completion was not working in
>> CVS HEAD.  I have adjusted the code to handle this and be more flexible
>> about \d modifiers.

> Doesn't this break completion for stuff like \daS, etc?

AFAICS \daS still works (that's why it's strncmp not just strcmp).

The thing that still doesn't work particularly well is completion
on the \dtisv family; this coding will only complete for the type
of object denoted by the first letter after \d.  It's not clear how
important that is in the real world, though; and it wasn't any better
before.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unchecked out of memory in postmaster.c
Next
From: Tom Lane
Date:
Subject: Yes, Virginia, beta is really coming