Search Postgresql Archives

Re: pg_connect sometimes works sometimes not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/04/2007 15:50, pobox@xxxxxxxxxxxxx wrote:

Thought of using pg_result_error - but it seems applicable only to queries (i.e. with pg_query or pg_execute). How can I get an error code?

pg_last_error()

http://www.php.net/manual/en/function.pg-last-error.php

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@xxxxxx
---------------------------------------------------------------


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux