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
CREATE TABLE
setseed |
---|
SELECT 1
CREATE FUNCTION
CREATE TRIGGER
INSERT 0 1
payload | comment | is_valid_as_date | id | ts |
---|---|---|---|---|
"2024-10-01" | just one of the columns | t | 1 | 2025-01-15 18:26:13.079506 |
null | this column does not exist | null | 2 | 2025-01-15 18:26:13.079812 |
null | 1st random lowercase letter key | null | 3 | 2025-01-15 18:26:13.079839 |
"d" | 2nd random lowercase letter key | f | 4 | 2025-01-15 18:26:13.079847 |
SELECT 4