On Wed, 26 Feb 2025 at 23:21, Sadeq Dousti <msdou...@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