Hi,
> db=# INSERT INTO brokentab(id, k1,k2,k3,k4,k5,k6,k7, smallval) VALUES
> (5,0,0,0,1,0,1,0, 0) ON CONFLICT (id, k1,k2,k3,k4,k5,k6,k7) DO UPDATE SET
> smallval=EXCLUDED.smallval;
> ERROR: attribute 29 has wrong type
> DETAIL: Table has type integer, but query expects smallint.
I pushed a fix for the issue. Could you verify that your original
problem does not exist anymore?
Thanks for testing Geoff, thanks for helping to nail this down Amit and
Peter.
Regards,
Andres