pg_locreate

(PHP 3, PHP 4 >= 4.0b1)

pg_locreate -- Create a large object

Description

int pg_locreate (int conn)

pg_locreate() creates an Inversion Large Object and returns the oid of the large object. conn specifies a valid database connection. PostgreSQL access modes INV_READ, INV_WRITE, and INV_ARCHIVE are not supported, the object is created always with both read and write access. INV_ARCHIVE has been removed from PostgreSQL itself (version 6.3 and above).