mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +03:00
Refactor to introduce pg_locale_deterministic().
Avoids the need of callers to test for NULL, and also avoids the need to access the pg_locale_t structure directly. Reviewed-by: Peter Eisentraut, Peter Geoghegan Discussion: https://postgr.es/m/a581136455c940d7bd0ff482d3a2bd51af25a94f.camel%40j-davis.com
This commit is contained in:
@@ -97,6 +97,7 @@ extern PGDLLIMPORT struct pg_locale_struct default_locale;
|
||||
extern void make_icu_collator(const char *iculocstr,
|
||||
struct pg_locale_struct *resultp);
|
||||
|
||||
extern bool pg_locale_deterministic(pg_locale_t locale);
|
||||
extern pg_locale_t pg_newlocale_from_collation(Oid collid);
|
||||
|
||||
extern char *get_collation_actual_version(char collprovider, const char *collcollate);
|
||||
|
||||
Reference in New Issue
Block a user