Forum OpenACS Q&A: Response to sec_rotate_last_visit

Posted by Jonathan Ellis on
the ::char is to coerce pg to insert the int into the property_value field which is defined as a varchar(4000)... I'd guess this is the problem and you need to cast it to a varchar(foo).  Dunno if this is strictly kosher in pg or not.