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

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Sadeq Dousti <msdousti(at)gmail(dot)com>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(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-27 05:43:59
Message-ID: CALDaNm3-8GOmPheci-dqQp-OpCpimtN4KzN81-Jm3M98DAXqHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 26 Feb 2025 at 23:21, Sadeq Dousti <msdousti(at)gmail(dot)com> wrote:
>
> Thanks a lot Greg!
>
> > Changes look good to me, thanks. Can you make a new patch that applies a single set of changes to HEAD?
>
> Please find attached the diff to Head in a single file.

Currently we are supporting only PG13 and higher versions. I'm not
sure if we should support lesser than PG15 version:
+ /*
+ * Note: Declarative table partitioning is only supported as of Pg 10.0.
+ */
+ if (showNoPartitions && pset.sversion < 100000)
+ {
+ char sverbuf[32];
+
+ pg_log_error("The server (version %s) does not support
declarative table partitioning.",
+
formatPGVersionNumber(pset.sversion, false,
+
sverbuf, sizeof(sverbuf)));
+ return true;
+ }

Regards,
Vignesh

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-02-27 05:50:39 Re: Small memory fixes for pg_createsubcriber
Previous Message John Naylor 2025-02-27 05:38:32 Re: Improve CRC32C performance on SSE4.2