aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-14 08:35:02 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-14 08:35:02 +0900
commitb8f44a47794588329cec280ee16eb0be17e1816e (patch)
treefcab264a24e1246c3ab2937e2f4199cf71bdf8ad /src/backend/access/transam/xlog.c
parentee3a551e96c465f96de04dd1faf4e7bff8d25342 (diff)
downloadpostgresql-b8f44a47794588329cec280ee16eb0be17e1816e.tar.gz
postgresql-b8f44a47794588329cec280ee16eb0be17e1816e.zip
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 the code so as the provider is always reported even if no locale is set. The name of the function where the error happens is added, while on it, as it can be helpful for debugging. Issue introduced by d87d548cd030, so backpatch down to 16. Author: Michael Paquier, Ranier Vilela Reviewed-by: Jeff Davis, Kyotaro Horiguchi Discussion: https://postgr.es/m/7073610042fcf97e1bea2ce08b7e0214b5e11094.camel@j-davis.com Backpatch-through: 16
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions