Hello,
i am using pear. i had added
function rollback() { $retval = @pg_exec($conn,"abort"); //$retval = @pg_exec($conn,"rollback");
if (!$retvals) { return DB_ERROR; } return DB_OK; }
but its not working Can anybody help me!!!!!!1
Regards, Kishor
Have you tried this in psql? <BR> $retval = @pg_exec($conn,"rollback") Should work just fine. Have you tried printing out the sql and pasting it into psql?