> + Renamed to php_pgsql_unescape_bytea() */ Even though the function is static, please make sure it doesn't have the same name as the one in the pgsql extension. </pedant>
> case PDO_PARAM_LOB: > - tmp_ptr = PQunescapeBytea(*ptr, &tmp_len); > + tmp_ptr = php_pgsql_unescape_bytea(*ptr, > &tmp_len); > *ptr = estrndup(tmp_ptr, tmp_len); seems like we don't need to duplicate it here anymore; the unescape function allocates its own memory. Can you see if the dup can be eliminated? --Wez. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php