Re: improve more permissions-related error messages

2023-05-12 Thread Nathan Bossart
On Fri, May 12, 2023 at 04:43:08PM -0400, Tom Lane wrote: > Nathan Bossart writes: >> While looking around for other such error messages, I found a few dozen >> "must be superuser" errors that might be improved with the new style. If >> folks feel this is worthwhile, I'll put together a patch. >

Re: improve more permissions-related error messages

2023-05-12 Thread Tom Lane
Nathan Bossart writes: > This is intended as a follow-up to de4d456 [0]. I noticed that c3afe8c > introduced another "must have privileges" error message that I think should > be adjusted to use the new style introduced in de4d456. І've attached a > small patch for this. +1 > While looking aro

improve more permissions-related error messages

2023-05-12 Thread Nathan Bossart
This is intended as a follow-up to de4d456 [0]. I noticed that c3afe8c introduced another "must have privileges" error message that I think should be adjusted to use the new style introduced in de4d456. І've attached a small patch for this. While looking around for other such error messages, I f