Thread: psql du command

psql du command

From
"Heckler, Kim M"
Date:

I am noticing a change in behavior with psql command \du (psql v16.1) for the first time.  This use to list the role membership for logon roles.  I searched the web and the docs and see no mention of this change in behavior.  Is there a “slash” command that show roles and their role membership (did not find anything in ‘\?’)?   Thank you, Kim.

 

 

 

 

 

 

Re: psql du command

From
Erik Wienhold
Date:
On 2024-02-06 16:34 +0100, Heckler, Kim M wrote:
> I am noticing a change in behavior with psql command \du (psql v16.1)
> for the first time.  This use to list the role membership for logon
> roles.  I searched the web and the docs and see no mention of this
> change in behavior.  Is there a "slash" command that show roles and
> their role membership (did not find anything in '\?')?

\drg shows the membership details since pg16.0, see
https://www.postgresql.org/docs/16/release-16.html#RELEASE-16-PSQL

-- 
Erik



Re: psql du command

From
"David G. Johnston"
Date:
On Tue, Feb 6, 2024 at 8:37 AM Heckler, Kim M <kim.heckler@nationwide.com> wrote:

I searched the web and the docs and see no mention of this change in behavior. 

 


It was added to the release notes.

David J.