Re: A Small psql Suggestion - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: A Small psql Suggestion
Date
Msg-id Y9qNhEIWC99n53pu@depesz.com
Whole thread Raw
In response to A Small psql Suggestion  (Raymond Brinzer <ray.brinzer@gmail.com>)
Responses Re: A Small psql Suggestion
List 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




pgsql-general by date:

Previous
From: Marc Millas
Date:
Subject: Re: Best Open Source OS for Postgresql
Next
From: Jeffrey Walton
Date:
Subject: Re: Best Open Source OS for Postgresql