diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/describe.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 2ef99971ac0..8c0ad8439eb 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -6495,12 +6495,23 @@ describePublications(const char *pattern) if (has_pubtruncate) appendPQExpBufferStr(&buf, ", pubtruncate"); + else + appendPQExpBufferStr(&buf, + ", false AS pubtruncate"); + if (has_pubgencols) appendPQExpBufferStr(&buf, ", pubgencols"); + else + appendPQExpBufferStr(&buf, + ", false AS pubgencols"); + if (has_pubviaroot) appendPQExpBufferStr(&buf, ", pubviaroot"); + else + appendPQExpBufferStr(&buf, + ", false AS pubviaroot"); appendPQExpBufferStr(&buf, "\nFROM pg_catalog.pg_publication\n"); |