Glen W. Mabey escribió: > TriggerData *trigdata; > Datum relative_filename_datum; > text *relative_filename_t; > int file_name_colnumber, ret; > bool *isnull; This is wrong. Try bool isnull; and later: SPI_getbinval( trigdata->tg_trigtuple, trigdata->tg_relation->rd_att, file_name_colnumber, &isnull ); -- Alvaro Herrera http://www.amazon.com/gp/registry/5ZYLFMCVHXC "No hay ausente sin culpa ni presente sin disculpa" (Prov. francés) ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings