Re: psql \dh: List High-Level (Root) Tables and Indexes - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: psql \dh: List High-Level (Root) Tables and Indexes
Date
Msg-id CAFj8pRDfGqAm9BpgSAy8p2d_2zy-_GMZYM_gX4uVEkGGCDJ22Q@mail.gmail.com
Whole thread Raw
In response to Re: psql \dh: List High-Level (Root) Tables and Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql \dh: List High-Level (Root) Tables and Indexes
List pgsql-hackers


po 24. 2. 2025 v 6:16 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> How about:
> \pset partition_roots_only 'true'

FWIW, I don't especially love this idea.  None of our existing
\d-type commands use pset parameters for filtering, and I don't
see a reason to believe that people would typically want this
to be a persistent setting.  I'd guess that sometimes you want
the tables filtered one way and sometimes the other.

There can be numeric parameter that can specify the deep - some like

\dP 0

Regards

Pavel

                        regards, tom lane


pgsql-hackers by date:

Previous
From: Evgeny
Date:
Subject: Re: Elimination of the repetitive code at the SLRU bootstrap functions.
Next
From: Jeff Davis
Date:
Subject: Re: Statistics Import and Export