mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Fix typo in the psql \d query handling, so that we use the correct query
against 9.0 servers.
This commit is contained in:
@ -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, "
|
||||||
|
Reference in New Issue
Block a user