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 2
CREATE TABLE
INSERT 0 3
CREATE PROCEDURE
CALL
id | name | Company | DateOfBirth | ProfileLink |
---|---|---|---|---|
1001 | Alice | 1991-02-08 | null | |
1002 | Bob | StackOverflow | null | www.google.com |
SELECT 2
INSERT 0 1
UPDATE 1
CALL
id | name | Company | DateOfBirth | ProfileLink | Hobby |
---|---|---|---|---|---|
1002 | Bob | StackOverflow | null | www.google.com | null |
1001 | Alice | 1991-02-08 | null | Something |
SELECT 2