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
This commit is contained in:
Robert Haas 2016-12-12 11:54:14 -05:00
parent 563d575fd7
commit 06e184876b

View File

@ -1808,7 +1808,7 @@ describeOneTableDetails(const char *schemaname,
} }
/* Make footers */ /* Make footers */
if (pset.sversion >= 90600) if (pset.sversion >= 100000)
{ {
/* Get the partition information */ /* Get the partition information */
PGresult *result; PGresult *result;