aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-24 14:30:42 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-24 14:34:15 +0200
commit74be35b07cf09350168018234026df94184f8991 (patch)
tree4ab8475b2c7bbd65a59d0ea4fa94c3f367e7d2df
parent97520809424d46c55e2faf73b5f09cb64b52f4a5 (diff)
downloadpostgresql-74be35b07cf09350168018234026df94184f8991.tar.gz
postgresql-74be35b07cf09350168018234026df94184f8991.zip
Fix typo in the psql \d query handling, so that we use the correct query
against 9.0 servers.
-rw-r--r--src/bin/psql/describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index e9436f862a3..ada04de451f 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -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, "