By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
?column? |
---|
f |
?column? |
---|
t |
8 rows affected
id | name |
---|---|
1 | João |
id | name |
---|---|
1 | João |
2 | Jóao |
5 | Joao |
6 | Jóãò |
QUERY PLAN |
---|
Index Scan using users_name_ignore_accent_idx on users (cost=0.13..8.15 rows=1 width=36) |
Index Cond: (name = 'João'::text COLLATE ignore_accent) |