From: Robert Haas Date: Mon, 12 Dec 2016 16:54:14 +0000 (-0500) Subject: psql: Fix incorrect version check for table partitining. X-Git-Tag: REL_10_BETA1~1266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06e184876bc07c2b1d7144957dcf02c5b4f709c2;p=thirdparty%2Fpostgresql.git psql: Fix incorrect version check for table partitining. Table partitioning was added in 10, not 9.6. Fabrízio de Royes Mello, per report from Jeff Janes --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index f0d955be4f0..a582a379539 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -1808,7 +1808,7 @@ describeOneTableDetails(const char *schemaname, } /* Make footers */ - if (pset.sversion >= 90600) + if (pset.sversion >= 100000) { /* Get the partition information */ PGresult *result;