Skip to content

Commit 19e65df

Browse files
author
Amit Kapila
committed
Display 'password_required' option for \dRs+ command.
The commit c3afe8c 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
1 parent 244ab8c commit 19e65df

File tree

3 files changed

+84
-73
lines changed

3 files changed

+84
-73
lines changed

src/bin/psql/describe.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6493,7 +6493,7 @@ describeSubscriptions(const char *pattern, bool verbose)
64936493
PGresult *res;
64946494
printQueryOpt myopt = pset.popt;
64956495
static const bool translate_columns[] = {false, false, false, false,
6496-
false, false, false, false, false, false, false, false, false};
6496+
false, false, false, false, false, false, false, false, false, false};
64976497

64986498
if (pset.sversion < 100000)
64996499
{
@@ -6551,8 +6551,10 @@ describeSubscriptions(const char *pattern, bool verbose)
65516551
if (pset.sversion >= 160000)
65526552
appendPQExpBuffer(&buf,
65536553
", suborigin AS \"%s\"\n"
6554+
", subpasswordrequired AS \"%s\"\n"
65546555
", subrunasowner AS \"%s\"\n",
65556556
gettext_noop("Origin"),
6557+
gettext_noop("Password required"),
65566558
gettext_noop("Run as Owner?"));
65576559

65586560
appendPQExpBuffer(&buf,

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