adopt_contract
extern int adopt_contract(ctid_t, const char *);
if (adopt_contract((ctid_t)spval->val,