Re: psql \dh: List High-Level (Root) Tables and Indexes

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Sadeq Dousti <msdousti(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: psql \dh: List High-Level (Root) Tables and Indexes
Date: 2025-02-24 06:22:15
Message-ID: CAFj8pRDfGqAm9BpgSAy8p2d_2zy-_GMZYM_gX4uVEkGGCDJ22Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

po 24. 2. 2025 v 6:16 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:

> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)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
>
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2025-02-24 06:39:01 Re: Statistics Import and Export
Previous Message Evgeny 2025-02-24 05:42:54 Re: Elimination of the repetitive code at the SLRU bootstrap functions.