> launching the script from the php page fails, but taking the same script and > using phppgadmin, the same script sucess. Then they're probably not the same. Enable logging on your postgresql server and see the exact queries that are being run when you use the php script. > Another question about transactions in postgresql > ?Is it possible inside the transaction to see the changes ocurred into the > database ,resulting of the previous statements executed on the same > transaction? Any statements executed INSIDE a transaction are visible. To another outside transaction, nothing is visible.