Show login privilege in psql \du command

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: Show login privilege in psql \du command
Date: 2007-09-18 11:50:37
Message-ID: 7A00EB4736851DA30374BC34@imhotep.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Please find attached a tiny patch which adds a "Login" field to the \du
command, displaying wether a role has the LOGIN privilege granted or not. I
found this useful, since you have to query the system catalog directly to
find out which role is permitted to login.

--
Thanks

Bernd

Attachment Content-Type Size
describe_role_login.patch text/x-diff 1.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-18 12:08:07 Re: invalidly encoded strings
Previous Message Zoltan Boszormenyi 2007-09-18 10:20:05 Re: HOT version 18