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
2 rows affected
qb_id | xero_id | freshbooks_id | unleashed_id | csv_data | myob_id |
---|---|---|---|---|---|
null | null | null | 1 | null | null |
1 | null | null | null | null | null |
null | null | null | null | null | foo |
ERROR: new row for relation "billables" violates check constraint "cc_at_least_one_mapping_needed_billables"
DETAIL: Failing row contains (null, null, null, null, null, null).