\d missing tab completion for composite types

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: \d missing tab completion for composite types
Date: 2011-06-02 18:13:43
Message-ID: 1307038423.2279.19.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tab completion for \d currently does not complete composite types, even
though \d works for composite types.

That's easy to be fixed, but I have two more general questions:

Since \d is happy to describe any kind of pg_class entry, should we also
remove the relkind restriction in what tab-complete.c currently calls
Query_for_list_of_tisvf? (TOAST tables would also be affected, mainly.)

It looks like this functionality of using \d to show a composite type's
details is not documented at all. Should it be?
describeOneTableDetails() accounts for it, so probably yes.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-06-02 18:35:31 Re: InitProcGlobal cleanup
Previous Message Steve Crawford 2011-06-02 18:06:59 Re: storing TZ along timestamps