Re: psql suggestion "select <tab>" offers nothing, can we get functions like "\df <tab>"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kirk Wolak <wolakk(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: psql suggestion "select <tab>" offers nothing, can we get functions like "\df <tab>"
Date: 2025-04-03 18:16:53
Message-ID: 1441980.1743704213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kirk Wolak <wolakk(at)gmail(dot)com> writes:
> But "select <tab>" does nothing.

What would you have it offer? Every single column and function name
in the database? Seems unlikely to be very helpful.

postgres=# select count(distinct attname) from pg_attribute;
count
-------
1218
(1 row)

postgres=# select count(distinct proname) from pg_proc;
count
-------
2787
(1 row)

That's with zero user-defined objects.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-04-03 18:19:43 Re: AIO v2.5
Previous Message Tom Lane 2025-04-03 18:11:30 Re: [fixed] Trigger test