This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3 / 7.4

pg_lo_creat

Name

pg_lo_creat -- create a large object

Synopsis

pg_lo_creat conn mode

Description

pg_lo_creat creates a large object.

Arguments

conn

The handle of a connection to the database in which to create the large object.

mode

The access mode for the large object. It can be any or'ing together of INV_READ and INV_WRITE. The "or" operator is |. For example:

[pg_lo_creat $conn "INV_READ|INV_WRITE"]

Return Value

The OID of the large object created.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group