pgsql: Fast default trigger and expand_tuple fixes

2018-09-24 Thread Andrew Dunstan
Fast default trigger and expand_tuple fixes Ensure that triggers get properly filled in tuples for the OLD value. Also fix the logic of detecting missing null values. The previous logic failed to detect a missing null column before the first missing column with a default. Fixing this has simplifie

pgsql: Fast default trigger and expand_tuple fixes

2018-09-24 Thread Andrew Dunstan
Fast default trigger and expand_tuple fixes Ensure that triggers get properly filled in tuples for the OLD value. Also fix the logic of detecting missing null values. The previous logic failed to detect a missing null column before the first missing column with a default. Fixing this has simplifie