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?.
4 rows affected
4 rows affected
id | nom | prenom | id | date_debut | date_fin |
---|---|---|---|---|---|
1 | Garde | Terminée | 11 | 2016-01-01 | 2017-01-01 |
2 | Gardes | Diverses | 12 | 2017-01-01 | 2018-01-01 |
4 | Jamais | Gardé | null | null | null |
id | nom | prenom |
---|---|---|
1 | Garde | Terminée |
4 | Jamais | Gardé |