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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy