Re: A Small psql Suggestion

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Raymond Brinzer <ray(dot)brinzer(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: A Small psql Suggestion
Date: 2023-02-01 16:04:20
Message-ID: Y9qNhEIWC99n53pu@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 31, 2023 at 11:17:16AM -0500, Raymond Brinzer wrote:
> Greetings,
>
> There is (for me) a small speed bump in psql. I think it's worth
> mentioning, minor though it is, because psql is such a polished tool
> generally, and because it's something which affects me many, many times a
> day.
>
> As it is, \d is a shortcut for \dtmvs. What I actually want to see, on a
> regular basis, are my relations: \dtmv. Most of the time, the sequences
> are clutter. If my habits are like most people's in this (and I suspect
> they are), excluding sequences from \d would optimize for the common case.

Perhaps just add this yourself?
\set d '\\dtmv'
and then
:d

or just bind \dtmv to some key like f1 or something like this?

Best regards,

depesz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey Walton 2023-02-01 16:05:39 Re: Best Open Source OS for Postgresql
Previous Message Marc Millas 2023-02-01 15:54:19 Re: Best Open Source OS for Postgresql