Restore RI trigger sanity check

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 04f9b449aa309410dbbcbf4951802a3f73b42bd0
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-03-20T20:23:26Z
Releases: 11.3
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

Files

PathChange+/−
src/backend/utils/adt/ri_triggers.c modified +7 −0

Discussion