]> granicus.if.org Git - postgresql/commitdiff
Fix typo in the psql \d query handling, so that we use the correct query
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Jan 2011 12:30:42 +0000 (14:30 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Jan 2011 12:34:15 +0000 (14:34 +0200)
against 9.0 servers.

src/bin/psql/describe.c

index e9436f862a32eddbecaf00a555e15837dbf40295..ada04de451fe601db3b4a4eea24089b6a3e261f7 100644 (file)
@@ -1135,7 +1135,7 @@ describeOneTableDetails(const char *schemaname,
        initPQExpBuffer(&tmpbuf);
 
        /* Get general table info */
-       if (pset.sversion >= 90000)
+       if (pset.sversion >= 90100)
        {
                printfPQExpBuffer(&buf,
                          "SELECT c.relchecks, c.relkind, c.relhasindex, c.relhasrules, "