On Mon, Mar 18, 2019 at 9:21 AM Peter Eisentraut wrote:
> Fix optimization of foreign-key on update actions
It looks like datum_image_eq() doesn't handle the cstring case (i.e.
the "typLen == -2" case) correctly. I think that it should.
--
Peter Geoghegan
Fix optimization of foreign-key on update actions
In RI_FKey_pk_upd_check_required(), we check among other things
whether the old and new key are equal, so that we don't need to run
cascade actions when nothing has actually changed. This was using the
equality operator. But the effect of this is