mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-21 03:18:55 +00:00
52 lines
1.5 KiB
XML
52 lines
1.5 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
|
||
|
<refentry id='function.pg-result-error'>
|
||
|
<refnamediv>
|
||
|
<refname>pg_result_error</refname>
|
||
|
<refpurpose>
|
||
|
Get error message associated with result
|
||
|
</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1>
|
||
|
<title>Description</title>
|
||
|
<methodsynopsis>
|
||
|
<type>string</type><methodname>pg_result_error</methodname>
|
||
|
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
<para>
|
||
|
<function>pg_result_error</function> returns error message
|
||
|
associated with <parameter>result</parameter> resource. Therefore,
|
||
|
user has better chance to get better error message than
|
||
|
<function>pg_last_error</function>.
|
||
|
</para>
|
||
|
<para>
|
||
|
See also <function>pg_query</function>,
|
||
|
<function>pg_send_query</function>,
|
||
|
<function>pg_get_result</function>,
|
||
|
<function>pg_last_error</function> and
|
||
|
<function>pg_last_notice</function>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
</refentry>
|
||
|
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|