Fix typo in the psql \d query handling, so that we use the correct query

against 9.0 servers.
This commit is contained in:
Heikki Linnakangas 2011-01-24 14:30:42 +02:00
parent 9752080942
commit 74be35b07c
1 changed files with 1 additions and 1 deletions

View 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, "