I got an error SELECT ERecord(100, 3492,'2008-05-13 10:25:57', 1, 0); gave me (translating into english) ERROR: relation with OID 31330 doesn't exist CONTEXT: SQL-statement: "INSERT INTO eLog (customer,shop,event,time) VALUES ( $1 , $2 , $3 , $4 )" PL/pgSQL function "erecord" line 5 at SQL statement ERecord is a function written in PL/pgSQL... so what can this mean?