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?.
6 rows affected
id_pago | fecha | valor | cuota | parcial |
---|---|---|---|---|
910006603 | 2017-04-19 | 30 | 1 | 30 |
910006603 | 2017-04-21 | 30 | 2 | 60 |
910006603 | 2017-04-23 | 30 | 3 | 90 |
910006603 | 2017-04-25 | 30 | 4 | 120 |
910006604 | 2017-04-14 | 45 | 1 | 45 |
910006604 | 2017-04-18 | 45 | 2 | 90 |