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?.
1 rows affected
ctid | column1 | column2 | status | id |
---|---|---|---|---|
(0,1) | 2021-05-28 22:27:06 | null | 0 | 5beb004a-63ec-4f01-8604-37296a208e5f |
ctid | column1 | column2 | status | id |
---|---|---|---|---|
(0,1) | 2021-05-28 22:27:06 | null | 0 | 5beb004a-63ec-4f01-8604-37296a208e5f |
1 rows affected
ctid | column1 | column2 | status | id |
---|---|---|---|---|
(0,2) | 2021-05-28 22:27:06 | 6beb004a-63ec-4f01-8604-37296a208e5f | 0 | 5beb004a-63ec-4f01-8604-37296a208e5f |
ctid | column1 | column2 | status | id |
---|---|---|---|---|
(0,2) | 2021-05-28 22:27:06 | 6beb004a-63ec-4f01-8604-37296a208e5f | 0 | 5beb004a-63ec-4f01-8604-37296a208e5f |
ctid | column1 | column2 | status | id |
---|---|---|---|---|
(0,2) | 2021-05-28 22:27:06 | 6beb004a-63ec-4f01-8604-37296a208e5f | 0 | 5beb004a-63ec-4f01-8604-37296a208e5f |