pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Raymond Brinzer <ray.brinzer@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: A Small psql Suggestion
Date: Wed, 1 Feb 2023 17:04:20 +0100
Message-ID: <Y9qNhEIWC99n53pu@depesz.com> (raw)
In-Reply-To: <CANasJHnK72hqT2MdgoEjcFq+Q=C9DW4KQEL8w9qXony35FMP=w@mail.gmail.com>
References: <CANasJHnK72hqT2MdgoEjcFq+Q=C9DW4KQEL8w9qXony35FMP=w@mail.gmail.com>

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






view thread (7+ messages)  latest in thread

Message-ID: <Y9qNhEIWC99n53pu@depesz.com>
Permalink:  ../Y9qNhEIWC99n53pu@depesz.com/
Also on:    postgresql.org/message-id/Y9qNhEIWC99n53pu@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: depesz@depesz.com, ray.brinzer@gmail.com
  Subject: Re: A Small psql Suggestion
  In-Reply-To: <Y9qNhEIWC99n53pu@depesz.com>
  References: <CANasJHnK72hqT2MdgoEjcFq+Q=C9DW4KQEL8w9qXony35FMP=w@mail.gmail.com> <Y9qNhEIWC99n53pu@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox