|
pg_lo_createCreate a large object Description
int pg_lo_create(PgSql\Connection
$connection = ?, mixed $object_id = ?)int pg_lo_create(mixed
$object_id)
pg_lo_create creates a large
object and returns the OID of the large
object. PostgreSQL access modes
To use the large object interface, it is necessary to enclose it within a transaction block. Instead of using the large object interface (which has no access controls and is cumbersome to use), try PostgreSQL's bytea column type and pg_escape_bytea.
Parameters
Return Values
A large object OID, or Changelog
Examples
Example #1 pg_lo_create example |