int id = -1, name_len;
int argc = ZEND_NUM_ARGS();
PGconn *pgsql;
- Oid wanted_oid, returned_oid;
+ Oid returned_oid;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC,
"rs|z", &pgsql_link, &file_in, &name_len, &oid) == SUCCESS) {
#ifndef HAVE_PG_LO_IMPORT_WITH_OID
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "OID value passing not supported");
#else
+ Oid wanted_oid;
switch (Z_TYPE_P(oid)) {
case IS_STRING:
{