Re: improving user.c error messages - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: improving user.c error messages
Date
Msg-id 20230127000936.GA1998073@nathanxps13
Whole thread Raw
In response to Re: improving user.c error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: improving user.c error messages
List pgsql-hackers
On Thu, Jan 26, 2023 at 05:41:32PM -0500, Tom Lane wrote:
> Well, it's not a hint.  I think the above is fine for non-password
> cases, but for passwords maybe
> 
>     ERROR:  permission denied to alter role password
>     DETAIL:  To change another role's password, you must have CREATEROLE privilege and ADMIN OPTION on role "%s".

Okay.  I used this phrasing in v3.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Partition key causes problem for volatile target list query
Next
From: Andrey Borodin
Date:
Subject: Re: Something is wrong with wal_compression