Re: downgrade some aclchk.c errors to internal

2025-01-15 Thread Peter Eisentraut
On 14.01.25 10:10, Alvaro Herrera wrote: On 2024-Dec-20, Peter Eisentraut wrote: On 20.12.24 12:47, Peter Eisentraut wrote: In aclchk.c, there are a few error messages that use ereport() but it seems like they should be internal error messages.  Moreover, they are using get_object_class_descr(

Re: downgrade some aclchk.c errors to internal

2025-01-14 Thread Alvaro Herrera
On 2024-Dec-20, Peter Eisentraut wrote: > On 20.12.24 12:47, Peter Eisentraut wrote: > > In aclchk.c, there are a few error messages that use ereport() but it > > seems like they should be internal error messages.  Moreover, they are > > using get_object_class_descr(), which is only meant for inte

Re: downgrade some aclchk.c errors to internal

2024-12-20 Thread Peter Eisentraut
On 20.12.24 12:47, Peter Eisentraut wrote: In aclchk.c, there are a few error messages that use ereport() but it seems like they should be internal error messages.  Moreover, they are using get_object_class_descr(), which is only meant for internal errors.  (For example, it does not have trans

downgrade some aclchk.c errors to internal

2024-12-20 Thread Peter Eisentraut
In aclchk.c, there are a few error messages that use ereport() but it seems like they should be internal error messages. Moreover, they are using get_object_class_descr(), which is only meant for internal errors. (For example, it does not have translation support.) I dug through this and it