Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> The problem in in the code to re-enable triggers:
> ...reltriggers = (select Count(*)....
> So perhaps this version now has Count returning a bigint rather than an int?
Okay, I've added conversion functions for int8-to-int2 and vice versa.
regards, tom lane