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

From vignesh C
Subject Re: psql \dh: List High-Level (Root) Tables and Indexes
Date
Msg-id CALDaNm3-8GOmPheci-dqQp-OpCpimtN4KzN81-Jm3M98DAXqHA@mail.gmail.com
Whole thread Raw
In response to Re: psql \dh: List High-Level (Root) Tables and Indexes  (Sadeq Dousti <msdousti@gmail.com>)
Responses Re: psql \dh: List High-Level (Root) Tables and Indexes
List pgsql-hackers
On Wed, 26 Feb 2025 at 23:21, Sadeq Dousti <msdousti@gmail.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



pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Improve CRC32C performance on SSE4.2
Next
From: Michael Paquier
Date:
Subject: Re: Small memory fixes for pg_createsubcriber