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 TABLE
INSERT 0 15
CREATE EXTENSION
ERROR: invalid return type DETAIL: SQL rowid datatype does not match return rowid datatype.
CREATE EXTENSION
order_date | кофты | ботинки | пальто |
---|---|---|---|
2022-12-25 00:00:00 | 3 | 12 | 1 |
2022-12-26 00:00:00 | 3 | 8 | 13 |
2022-12-27 00:00:00 | 2 | 21 | 3 |
SELECT 3