Re: allow to \dtS+ pg_toast.* - Mailing list pgsql-hackers

From Tom Lane
Subject Re: allow to \dtS+ pg_toast.*
Date
Msg-id 3454491.1609890361@sss.pgh.pa.us
Whole thread Raw
In response to allow to \dtS+ pg_toast.*  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: allow to \dtS+ pg_toast.*  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Fri, 2020-12-18 at 11:33 -0600, Justin Pryzby wrote:
>>>> This makes toast tables a bit less special and easier to inspect.

Pushed, except for

>>> Another thing that is missing is tab completion for
>>> regression=# \dtS pg_toast.pg_
>>> This should work just like for \d and \dS.

>> I agree that it's nice to complete the schema name, but I'm still not convinced
>> this part should be included.

> Again a judgement call.  I am happy with the way the latest patch does it.

I remain pretty much against including toast tables in tab completion,
so I left out that part.

>> I considered whether "toast table" should be capitalized (as it is for "\d")
>> but I think it should stay lowercase.

> Then you should also change the way \d does it (upper case).
> I think we should be consistent.

I think capitalized TOAST is correct, because it's an acronym.
I also agree that consistency with what \d shows is important,
and I have no desire to change \d's longstanding output.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [PATCH] Runtime control of CLOBBER_CACHE_ALWAYS
Next
From: Justin Pryzby
Date:
Subject: Re: allow to \dtS+ pg_toast.*