Re: Better title output for psql \dt \di etc. commands

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Better title output for psql \dt \di etc. commands
Date: 2025-02-03 21:08:03
Message-ID: Z6EwM-Wxk9eIqGUU@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 03, 2025 at 03:12:57PM -0500, Tom Lane wrote:
> Greg Sabino Mullane <htamfids(at)gmail(dot)com> writes:
>> I toyed with that for a bit, but as you say, without generating a ton of
>> combinations to translate, we'd have to fall back on run-time
>> constructions. Neither is ideal. I also realized that I almost never type
>> "\dti". Very common for me are \d and \dt and \dv etc. but combinations are
>> something I never bother with. At that point, I just do a \d. I think given
>> how rare (granted, anecdotally) those combinations are, it's okay if we
>> expose people to the "r" word.
>
> Fair. This is already a step forward, so it doesn't have to be
> perfect.

+1. I don't use combinations like \dti regularly, either.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2025-02-03 21:22:48 Re: Better title output for psql \dt \di etc. commands
Previous Message Sami Imseih 2025-02-03 21:05:44 Re: Prevent COPY FREEZE on Foreign tables