Hey guys,
Check this out:
http://www.php.net/manual/en/ref.pgsql.php
Note all v3 protocol functions are in for PHP 5.1, like
. pg_transaction_status() - in-transaction status of a database
connection.
. pg_query_params() - execution of parameterized queries.
. pg_prepare() - prepare named queries.
. pg_execute() - execution of named prepared queries.
. pg_send_query_params() - async equivalent of pg_query_params().
. pg_send_prepare() - async equivalent of pg_prepare().
. pg_send_execute() - async equivalent of pg_execute().
. pg_result_error_field() - highly detailed error information,
most importantly the SQLSTATE error code.
. pg_set_error_verbosity() - set verbosity of errors.
Cheers,
Chris