Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74be35b

Browse files
committed
Fix typo in the psql \d query handling, so that we use the correct query
against 9.0 servers.
1 parent 9752080 commit 74be35b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/describe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ describeOneTableDetails(const char *schemaname,
11351135
initPQExpBuffer(&tmpbuf);
11361136

11371137
/* Get general table info */
1138-
if (pset.sversion >= 90000)
1138+
if (pset.sversion >= 90100)
11391139
{
11401140
printfPQExpBuffer(&buf,
11411141
"SELECT c.relchecks, c.relkind, c.relhasindex, c.relhasrules, "

0 commit comments

Comments
 (0)