|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Typedefs | |
| typedef FormData_pg_largeobject * | Form_pg_largeobject |
Functions | |
| CATALOG (pg_largeobject, 2613, LargeObjectRelationId) | |
| DECLARE_UNIQUE_INDEX_PKEY (pg_largeobject_loid_pn_index, 2683, LargeObjectLOidPNIndexId, pg_largeobject, btree(loid oid_ops, pageno int4_ops)) | |
| Oid | LargeObjectCreate (Oid loid) |
| void | LargeObjectDrop (Oid loid) |
| bool | LargeObjectExists (Oid loid) |
| bool | LargeObjectExistsWithSnapshot (Oid loid, Snapshot snapshot) |
Variables | |
| FormData_pg_largeobject | |
Definition at line 46 of file pg_largeobject.h.
| CATALOG | ( | pg_largeobject | , |
| 2613 | , | ||
| LargeObjectRelationId | |||
| ) |
Definition at line 30 of file pg_largeobject.h.
References BKI_FORCE_NOT_NULL, BKI_LOOKUP, and data.
| DECLARE_UNIQUE_INDEX_PKEY | ( | pg_largeobject_loid_pn_index | , |
| 2683 | , | ||
| LargeObjectLOidPNIndexId | , | ||
| pg_largeobject | , | ||
| btree(loid oid_ops, pageno int4_ops) | |||
| ) |
Definition at line 37 of file pg_largeobject.c.
References CatalogTupleInsert(), get_user_default_acl(), GetNewOidWithIndex(), GetUserId(), heap_form_tuple(), heap_freetuple(), InvalidOid, OBJECT_LARGEOBJECT, ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), recordDependencyOnNewAcl(), RelationGetDescr, RowExclusiveLock, table_close(), table_open(), and values.
Referenced by inv_create().
| void LargeObjectDrop | ( | Oid | loid | ) |
Definition at line 96 of file pg_largeobject.c.
References BTEqualStrategyNumber, CatalogTupleDelete(), ereport, errcode(), errmsg(), ERROR, HeapTupleIsValid, ObjectIdGetDatum(), RowExclusiveLock, ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), HeapTupleData::t_self, table_close(), and table_open().
Referenced by doDeletion().
| bool LargeObjectExists | ( | Oid | loid | ) |
Definition at line 168 of file pg_largeobject.c.
References LargeObjectExistsWithSnapshot().
Referenced by be_lo_unlink(), get_object_address(), getObjectDescription(), and getObjectIdentityParts().
Definition at line 177 of file pg_largeobject.c.
References AccessShareLock, BTEqualStrategyNumber, HeapTupleIsValid, ObjectIdGetDatum(), ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), table_close(), and table_open().
Referenced by has_lo_priv_byid(), inv_open(), and LargeObjectExists().
| FormData_pg_largeobject |
Definition at line 39 of file pg_largeobject.h.