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

Поиск
Список
Период
Сортировка
От vignesh C
Тема Re: psql \dh: List High-Level (Root) Tables and Indexes
Дата
Msg-id CALDaNm3-8GOmPheci-dqQp-OpCpimtN4KzN81-Jm3M98DAXqHA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql \dh: List High-Level (Root) Tables and Indexes  (Sadeq Dousti <msdousti@gmail.com>)
Ответы Re: psql \dh: List High-Level (Root) Tables and Indexes
Список 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 по дате отправления: