Re: [PATCH] pg_result_sqlstate
| From: | Markus Bertheau | Date: | Mon, 08 Nov 2004 15:24:05 +0000 |
| Subject: | Re: [PATCH] pg_result_sqlstate | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13789@lists.php.net to get a copy of this message | ||
В Пнд, 08.11.2004, в 16:04, John Coggeshall пишет:
> 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?
I copied the behaviour from pg_result_error(), so the answer is because
pg_result_error() does it too.
Markus
--
Markus Bertheau <twanger@bluetwanger.de>