On 25/12/2018 00:56, Corey Huinker wrote: > The regression diff (attached) seems to imply that the triggers simply > are not firing, though.
The reason for this was explained by Dean. If you take out the check that he mentioned, then your trigger fires but crashes. In your changed unique_key_recheck(), "slot" is not initialized before use (or ever). -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services