Restore RI trigger sanity check
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Mar 2019 20:28:43 +0000 (17:28 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Mar 2019 20:28:43 +0000 (17:28 -0300)
commit815b20ae0c6ed61a431fba124c736152f0df5022
tree5b93a874ad1dccd579f590776ec6f9cb8aaa95f7
parentc1afd175b5b2e5c44f6da34988342e00ecdfb518
Restore RI trigger sanity check

I unnecessarily removed this check in 3de241dba86f because I
misunderstood what the final representation of constraints across a
partitioning hierarchy was to be.  Put it back (in both branches).

Discussion: https://postgr.es/m/201901222145.t6wws6t6vrcu@alvherre.pgsql
src/backend/utils/adt/ri_triggers.c