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
ALTER TABLE
CREATE VIEW
CREATE TABLE
INSERT 0 2
INSERT 0 3
INSERT 0 8
UPDATE 1
UPDATE 2
config | revision | deployed | status | names |
---|---|---|---|---|
config_foo | 1 | t | other.name, some.name | |
config_foo | 2 | t | ACTIVE | other.name, revised.name, third.name |
config_bar | 1 | f | other.name, some.name, unique.name |
SELECT 3