Hi, Is there SQL-92 SQLSTATE or SQL-96 SQLCODE implemented in PostgreSQL (I use version 7.0 on SuSe Linux 6.4) ? If so, how to take the value of it in stored procedures (written in PL/pgSQL or C) In documentation I found only a short describtion of sqlca In ecpg.