mirror of
https://github.com/postgres/postgres.git
synced 2025-12-16 16:42:29 +03:00
Tweak duplicate-index-column regression test to avoid locale sensitivity.
The originally-chosen test case gives different results in es_EC locale because of unusual rule for sorting strings beginning with "LL". Adjust the comparison value to avoid that, while hopefully not introducing new locale dependencies elsewhere. Per report from Jaime Casanova.
This commit is contained in:
@@ -816,6 +816,6 @@ VACUUM ANALYZE dupindexcols;
|
||||
|
||||
EXPLAIN (COSTS OFF)
|
||||
SELECT count(*) FROM dupindexcols
|
||||
WHERE f1 > 'LX' and id < 1000 and f1 ~<~ 'YX';
|
||||
WHERE f1 > 'MA' and id < 1000 and f1 ~<~ 'YX';
|
||||
SELECT count(*) FROM dupindexcols
|
||||
WHERE f1 > 'LX' and id < 1000 and f1 ~<~ 'YX';
|
||||
WHERE f1 > 'MA' and id < 1000 and f1 ~<~ 'YX';
|
||||
|
||||
Reference in New Issue
Block a user