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
1 rows affected
1 rows affected
message_id | creator_id | created_at | modified_at | content |
---|---|---|---|---|
2 | 200 | 2020-06-16 08:27:24.378863 | null | some text |
1 | 100 | 2020-06-16 08:27:24.378863 | 2020-06-16 08:27:24.381258 | another text |
entry_id | message_id | modified_by | modified_at | content |
---|---|---|---|---|
1 | 1 | 100 | 2020-06-16 08:27:24.378863 | some text |
2 | 2 | 200 | 2020-06-16 08:27:24.378863 | some text |
3 | 1 | 100 | 2020-06-16 08:27:24.381258 | another text |