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 FUNCTION
CREATE TRIGGER
CREATE FUNCTION
CREATE TRIGGER
CREATE FUNCTION
CREATE TRIGGER
INSERT 0 5
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
tbl_id | source | data |
---|---|---|
1 | source NEW1 | new_data 1 |
2 | source 2 | new_data 2 |
3 | UPDATE default source | new_data 3 |
4 | source 4 | new_data 4 |
5 | COLUMN default source | null |
SELECT 5