From 19e65dff38bdccdf2cac7f2083342101df6bea57 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Mon, 24 Apr 2023 08:37:58 +0530 Subject: Display 'password_required' option for \dRs+ command. The commit c3afe8cf5a added a new subscription option 'password_required' which should be shown with \dRs+ command. Author: Vignesh C Reviewed-by: Amit Kapila, Robert Haas Discussion: https://postgr.es/m/CAA4eK1LRz5sCZxwCW6OtpjLtWPvRwBihQOM4jzQm6ppfpexqGA@mail.gmail.com Discussion: https://postgr.es/m/9DFC88D3-1300-4DE8-ACBC-4CEF84399A53@enterprisedb.com --- src/bin/psql/describe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bin') diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 83a37ee6011..058e41e749c 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -6493,7 +6493,7 @@ describeSubscriptions(const char *pattern, bool verbose) PGresult *res; printQueryOpt myopt = pset.popt; static const bool translate_columns[] = {false, false, false, false, - false, false, false, false, false, false, false, false, false}; + false, false, false, false, false, false, false, false, false, false}; if (pset.sversion < 100000) { @@ -6551,8 +6551,10 @@ describeSubscriptions(const char *pattern, bool verbose) if (pset.sversion >= 160000) appendPQExpBuffer(&buf, ", suborigin AS \"%s\"\n" + ", subpasswordrequired AS \"%s\"\n" ", subrunasowner AS \"%s\"\n", gettext_noop("Origin"), + gettext_noop("Password required"), gettext_noop("Run as Owner?")); appendPQExpBuffer(&buf, -- cgit v1.2.3