Re: [PATCH] pg_result_sqlstate
| From: | John Coggeshall | Date: | Mon, 08 Nov 2004 15:04:51 +0000 |
| Subject: | Re: [PATCH] pg_result_sqlstate | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13788@lists.php.net to get a copy of this message | ||
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS()
TSRMLS_CC, "r" ......
why would you silence the error for the parameter when this function
requires a valid Postgres resource to do anything?
John
On Mon, 2004-11-08 at 07:44, Markus Bertheau wrote:
> Hi,
>
> attached is a patch which implements a function pg_result_sqlstate. This
> function is needed because the error messages returned by
> pg_result_error is localized and can therefor not be parsed reliably.
>
> The patch is against PHP5. Barring any objections please apply the patch
> for PHP 5.0.3.
>
> Thanks