pgsql: Refactor error messages for unsupported providers in pg_locale.c

2023-09-13 Thread Michael Paquier
Refactor error messages for unsupported providers in pg_locale.c These code paths should not be reached normally, but if they are an error with "(null)" as information for the collation provider would show up if no locale is set, while we can assume that we are referring to libc. This refactors t

pgsql: Refactor error messages for unsupported providers in pg_locale.c

2023-09-13 Thread Michael Paquier
Refactor error messages for unsupported providers in pg_locale.c These code paths should not be reached normally, but if they are an error with "(null)" as information for the collation provider would show up if no locale is set, while we can assume that we are referring to libc. This refactors t