导航首页 »  技术教程 »  PHP:pg_result_error()的用法_PostgreSQL函数
PHP:pg_result_error()的用法_PostgreSQL函数 950 2023-12-12   

pg_result_error

(PHP 4 >= 4.2.0, PHP 5)

pg_result_error — 获得查询结果的错误信息

说明

string pg_result_error ( resource $result )

pg_result_error() 返回和 result 资源关联的错误信息。因此用户更有机会可以得到比 pg_last_error() 更好的错误信息。

参见 pg_query(),pg_send_query(),pg_get_result(),pg_last_error() 和 pg_last_notice()。



文章评论 (0条)
发表评论
暂无评论,快来抢沙发吧~