Hi, are there any server side constants maintained by PostGreSql ( like @@error in MsSql server ). that would hold the value of the most recent error that has occured ? regards-adivi