Re: rz_item_equip fix for updated sources
That was a simple mistake an author made. The correct call must be:
CALL RZ_ITEM_EQUIP (%I64d, '%d', '%d', '%d', %s, '%d', '%d', '%d')
In PostgreSQL, a smallint argument must be represented as string literal (or explicitly casted).
Or you might need to...