pg_lo_creat conn mode
Specifies a valid database connection.
Specifies the access mode for the large object
The OID of the large object created.
pg_lo_creat creates an Inversion Large Object.
mode can be any or'ing together of INV_READ and INV_WRITE. The "or" operator is |.
[pg_lo_creat $conn "INV_READ|INV_WRITE"]