PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

pg_last_notice> <pg_insert
Last updated: Fri, 18 Jul 2008

view this page in

pg_last_error

(PHP 4 >= 4.2.0, PHP 5)

pg_last_error — Restituisce l'ultimo messaggio d'errore di una connessione

Descrizione

string pg_last_error ([ resource $connessione ] )

pg_last_error() restituisce l'ultimo messaggio di errore della connessione specificata.

I messaggi di errore possono essere sovrascritti da chiamate a funzioni interne a PostgreSQL(libpq). Quindi questa funzione potrebbe non restituire il messaggio di errore corretto, se più errori si sono verificati in una funzione interna di PostgreSQL.

Utilizzare pg_result_error(), pg_result_status() e pg_connection_status() per una migliore gestione degli errori.

Nota: Questa funzione si chiamava pg_errormessage().

Vedere anche pg_result_error().



add a note add a note User Contributed Notes
pg_last_error
There are no user contributed notes for this page.

pg_last_notice> <pg_insert
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites