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?.
CREATE FUNCTION
INSERT 0 4
getstringcount |
---|
1 |
SELECT 1
col | getstringcount |
---|---|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | 11 |
At vero eos et accusam et justo duo dolores et ea rebum. | 3 |
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | 8 |
null | 0 |
SELECT 4