Definition at line 56 of file pgsql.php.
◆ deleteOID()
MDB2_Driver_Native_pgsql::deleteOID |
( |
|
$OID | ) |
|
delete an OID
- Parameters
-
- Returns
- mixed MDB2_OK on success or MDB2 Error Object on failure @access public
Definition at line 68 of file pgsql.php.
69 {
72 return $db;
73 }
74
75 $connection = $db->getConnection();
77 return $connection;
78 }
79
80 if (!@pg_lo_unlink($connection, $OID)) {
81 return $db->raiseError(null, null, null,
82 'Unable to unlink OID: '.$OID, __FUNCTION__);
83 }
85 }
const MDB2_OK
The method mapErrorCode in each MDB2_dbtype implementation maps native error codes to one of these.
& getDBInstance()
Get the instance of MDB2 associated with the module instance.
isError($data, $code=null)
Tell whether a value is a PEAR error.
References MDB2_Module_Common\getDBInstance(), PEAR\isError(), and MDB2_OK.
The documentation for this class was generated from the following file:
- Services/PEAR/lib/MDB2/Driver/Native/pgsql.php