diff options
Diffstat (limited to 'src/bin/psql/describe.c')
-rw-r--r-- | src/bin/psql/describe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 327a69487bb..c645d66418a 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -2148,9 +2148,9 @@ describeOneTableDetails(const char *schemaname, "SELECT inhparent::pg_catalog.regclass,\n" " pg_catalog.pg_get_expr(c.relpartbound, c.oid),\n "); - appendPQExpBuffer(&buf, - pset.sversion >= 140000 ? "inhdetachpending" : - "false as inhdetachpending"); + appendPQExpBufferStr(&buf, + pset.sversion >= 140000 ? "inhdetachpending" : + "false as inhdetachpending"); /* If verbose, also request the partition constraint definition */ if (verbose) @@ -2311,7 +2311,7 @@ describeOneTableDetails(const char *schemaname, printfPQExpBuffer(&tmpbuf, _("unique")); if (strcmp(indnullsnotdistinct, "t") == 0) appendPQExpBufferStr(&tmpbuf, _(" nulls not distinct")); - appendPQExpBuffer(&tmpbuf, _(", ")); + appendPQExpBufferStr(&tmpbuf, _(", ")); } else resetPQExpBuffer(&tmpbuf); |