mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
Remove lc_collate_is_c().
Instead just look up the collation and check collate_is_c field. Author: Andreas Karlsson Discussion: https://postgr.es/m/60929555-4709-40a7-b136-bcb44cff5a3c@proxel.se
This commit is contained in:
@@ -427,7 +427,7 @@ spg_text_inner_consistent(PG_FUNCTION_ARGS)
|
||||
{
|
||||
spgInnerConsistentIn *in = (spgInnerConsistentIn *) PG_GETARG_POINTER(0);
|
||||
spgInnerConsistentOut *out = (spgInnerConsistentOut *) PG_GETARG_POINTER(1);
|
||||
bool collate_is_c = lc_collate_is_c(PG_GET_COLLATION());
|
||||
bool collate_is_c = pg_newlocale_from_collation(PG_GET_COLLATION())->collate_is_c;
|
||||
text *reconstructedValue;
|
||||
text *reconstrText;
|
||||
int maxReconstrLen;
|
||||
|
Reference in New Issue
Block a user