pg_last_error():PHPリファレンス

pg_last_error()に関する用語の解説。

pg_last_error()とは

pg_last_error関数はPostgreSQLの直近のエラーメッセージを取得します。

PHP書式

pg_last_error(データベース接続)

戻り値

エラーメッセージ

サンプルコード

出力結果

補足