On Fri, Sep 1, 2023 at 11:47 AM Ranier Vilela <ranier.vf@gmail.com> wrote: > If a null locale is reached in these paths. > elog will dereference a null pointer.
True. That's sloppy coding.
I don't know enough about this code to be sure whether the error messages that you propose are for the best.
I tried to keep the same behavior as before. Note that if the locale equals COLLPROVIDER_LIBC,