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?.
version |
---|
PostgreSQL 10.12 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4), 64-bit |
1 rows affected
id | attr |
---|---|
1 | {"mf": "4.0", "mfm": "4.0", "pot": null, "me_cd": "006", "pe_cd": "07", "leavingDate": null, "earliestDate": [{"date": "2019-07-01", "_destroy": false}, {"date": "2020-01-01", "_destroy": ""}], "earliestDate2": null} |
id | attr |
---|---|
1 | {"mf": "4.0", "mfm": "4.0", "pot": null, "me_cd": "006", "pe_cd": "07", "leavingDate": null, "earliestDate": [{"date": "2019-07-01", "_destroy": false}, {"date": "2020-01-01", "_destroy": ""}], "earliestDate2": null} |
1 rows affected
?column? |
---|
2019-07-01 |