aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2024-09-12 13:35:56 -0700
committerJeff Davis <jdavis@postgresql.org>2024-09-12 13:35:56 -0700
commitb0c30612c5f6ce519172396527781a0666937363 (patch)
tree73f869bbb84842d9286d784b98d3836a1de1f372 /src/include/utils
parent6a9fc11033e61d0dde30d5114887714dbd7612d5 (diff)
downloadpostgresql-b0c30612c5f6ce519172396527781a0666937363.tar.gz
postgresql-b0c30612c5f6ce519172396527781a0666937363.zip
Simplify checks for deterministic collations.
Remove redundant checks for locale->collate_is_c now that we always have a valid pg_locale_t. Also, remove pg_locale_deterministic() wrapper, which is no longer useful after commit e9931bfb75. Just check the field directly, consistent with other fields in pg_locale_t. Author: Andreas Karlsson Discussion: https://postgr.es/m/60929555-4709-40a7-b136-bcb44cff5a3c@proxel.se
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/pg_locale.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index ab1c37a44b3..faae868bfcc 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -108,7 +108,6 @@ extern void make_icu_collator(const char *iculocstr,
const char *icurules,
struct pg_locale_struct *resultp);
-extern bool pg_locale_deterministic(pg_locale_t locale);
extern void init_database_collation(void);
extern pg_locale_t pg_newlocale_from_collation(Oid collid);