Re: Would it be possible to add functions to tab-completion in psql?

From: "Bzm(at)g" <bzm(at)2bz(dot)de>
To: depesz(at)depesz(dot)com
Cc: pgsql-general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Would it be possible to add functions to tab-completion in psql?
Date: 2022-08-16 14:37:41
Message-ID: E462A84C-2C16-47BF-9C33-D35687D0D206@2bz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> As a dba I have to, very often, query system functions, starting with
> pg_last_xact_replay_timestamp and pg_current_wal_lsn.
>
> Would it be possible/hard/expensive, to change tab-completion so that:
>
> select pg_<tab> would work?

Not what you asked for, but anyway, I use
\sf pg_<tab> and copy the desired name to fix similar problems.

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2022-08-16 20:42:38 Re: Can I get the number of results plus the results with a single query?
Previous Message hubert depesz lubaczewski 2022-08-16 14:14:12 Re: Would it be possible to add functions to tab-completion in psql?