Fix typo in the psql \d query handling, so that we use the correct query
against 9.0 servers.
This commit is contained in:
parent
9752080942
commit
74be35b07c
@ -1135,7 +1135,7 @@ describeOneTableDetails(const char *schemaname,
|
|||||||
initPQExpBuffer(&tmpbuf);
|
initPQExpBuffer(&tmpbuf);
|
||||||
|
|
||||||
/* Get general table info */
|
/* Get general table info */
|
||||||
if (pset.sversion >= 90000)
|
if (pset.sversion >= 90100)
|
||||||
{
|
{
|
||||||
printfPQExpBuffer(&buf,
|
printfPQExpBuffer(&buf,
|
||||||
"SELECT c.relchecks, c.relkind, c.relhasindex, c.relhasrules, "
|
"SELECT c.relchecks, c.relkind, c.relhasindex, c.relhasrules, "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user