8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd85acf commit c3cc844Copy full SHA for c3cc844
src/bin/psql/describe.c
@@ -2083,11 +2083,11 @@ describeOneTableDetails(const char *schemaname,
2083
}
2084
2085
if (!PQgetisnull(result, i, 2))
2086
- appendPQExpBuffer(&buf, "\n USING %s",
+ appendPQExpBuffer(&buf, "\n USING (%s)",
2087
PQgetvalue(result, i, 2));
2088
2089
if (!PQgetisnull(result, i, 3))
2090
- appendPQExpBuffer(&buf, "\n WITH CHECK %s",
+ appendPQExpBuffer(&buf, "\n WITH CHECK (%s)",
2091
PQgetvalue(result, i, 3));
2092
2093
printTableAddFooter(&cont, buf.data);
0 commit comments