PDO::pgsqlLOBCreate()
PDO::pgsqlLOBCreate - Creates a new large object
Syntax
string PDO::pgsqlLOBCreate ()
Arguments
-
Description
PDO::pgsqlLOBCreate() creates a large object and returns the OID of that object. You may then open a stream on the object using PDO::pgsqlLOBOpen() to read or write data to it. The OID can be stored in columns of type OID and be used to reference the large object, without causing the row to grow arbitrarily large. The large object will continue to live in the database until it is removed by calling PDO::pgsqlLOBUnlink().
Version
PHP 5.1.2, PECL pdo_pgsql >= 1.0.2
Return value
Returns the OID of the newly created large object on success, or FALSE on failure.