v5-0007-Updated-psql-s-describe-roles-meta-command.patch

application/octet-stream

Filename: v5-0007-Updated-psql-s-describe-roles-meta-command.patch
Type: application/octet-stream
Part: 5
Message: Re: [PoC/RFC] Multiple passwords, interval expirations

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v5-0007
Subject: Updated psql's describe-roles meta-command
File+
src/bin/psql/describe.c 1 1
From f20a487f6bab8bb1e0a6c42d5a9af8edb8d77486 Mon Sep 17 00:00:00 2001
From: Gurjeet Singh <gurjeet@singh.im>
Date: Mon, 9 Oct 2023 21:41:51 -0700
Subject: [PATCH v5 7/9] Updated psql's describe-roles meta-command

---
 src/bin/psql/describe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index 6433497bcd..af00b52eca 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -3683,7 +3683,7 @@ describeRoles(const char *pattern, bool verbose, bool showSystem)
 	printfPQExpBuffer(&buf,
 					  "SELECT r.rolname, r.rolsuper, r.rolinherit,\n"
 					  "  r.rolcreaterole, r.rolcreatedb, r.rolcanlogin,\n"
-					  "  r.rolconnlimit, r.rolvaliduntil");
+					  "  r.rolconnlimit, r.rolvaliduntil, r.rolsecondvaliduntil");
 
 	if (verbose)
 	{
-- 
2.25.1