pgsql: Fix droppability of constraints upon partition detach

2019-01-24 Thread Alvaro Herrera
Fix droppability of constraints upon partition detach We were failing to set conislocal correctly for constraints in partitions after partition detach, leading to those constraints becoming undroppable. Fix by setting the flag correctly. Existing databases might contain constraints with the coni

pgsql: Fix droppability of constraints upon partition detach

2019-01-24 Thread Alvaro Herrera
Fix droppability of constraints upon partition detach We were failing to set conislocal correctly for constraints in partitions after partition detach, leading to those constraints becoming undroppable. Fix by setting the flag correctly. Existing databases might contain constraints with the coni