On Mon, Feb 3, 2025 at 1:07 PM Tom Lane <t...@sss.pgh.pa.us> wrote:

> As presented, I think this fails the translatability guideline


Thanks, good point.  Please find attached a slightly more verbose version
that should be better for translations.

For myself, if we were going to do something like this, I'd kind of like to
> cover more cases:
>
> greg=# \dti
>                 List of tables and indexes
>

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.

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

Attachment: 0002-Show-more-intuitive-titles-for-psql-commands.patch
Description: Binary data

Reply via email to