From 06e184876bc07c2b1d7144957dcf02c5b4f709c2 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 12 Dec 2016 11:54:14 -0500 Subject: [PATCH] psql: Fix incorrect version check for table partitining. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Table partitioning was added in 10, not 9.6. Fabrízio de Royes Mello, per report from Jeff Janes --- src/bin/psql/describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index f0d955be4f..a582a37953 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; -- 2.49.0