aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-09-13 16:10:52 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-09-13 16:10:52 +0200
commit433d8f40e957c042d7d224e4561ca033252baf37 (patch)
tree6342e549c32c255e6d938ef330353a5446c422a7 /src/backend/access/gist/gistbuildbuffers.c
parent2b67bdca529c6aed4303eb6963d09d1b540137b8 (diff)
downloadpostgresql-433d8f40e957c042d7d224e4561ca033252baf37.tar.gz
postgresql-433d8f40e957c042d7d224e4561ca033252baf37.zip
Remove separate locale_is_c arguments
Since e9931bfb751, ctype_is_c is part of pg_locale_t. Some functions passed a pg_locale_t and a bool argument separately. This can now be combined into one argument. Since some callers call MatchText() with locale 0, it is a bit confusing whether this is all correct. But it is the case that only callers that pass a non-zero locale object to MatchText() end up checking locale->ctype_is_c. To make that flow a bit more understandable, add the locale argument to MATCH_LOWER() and GETCHAR() in like_match.c, instead of implicitly taking it from the outer scope. Reviewed-by: Jeff Davis <pgsql@j-davis.com> Discussion: https://www.postgresql.org/message-id/84d415fc-6780-419e-b16c-61a0ca819e2b@eisentraut.org
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions