|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/genam.h"#include "access/htup_details.h"#include "access/table.h"#include "catalog/catalog.h"#include "catalog/indexing.h"#include "catalog/pg_largeobject.h"#include "catalog/pg_largeobject_metadata.h"#include "miscadmin.h"#include "utils/acl.h"#include "utils/fmgroids.h"#include "utils/rel.h"
Go to the source code of this file.
Functions | |
| Oid | LargeObjectCreate (Oid loid) |
| void | LargeObjectDrop (Oid loid) |
| bool | LargeObjectExists (Oid loid) |
| bool | LargeObjectExistsWithSnapshot (Oid loid, Snapshot snapshot) |
Definition at line 38 of file pg_largeobject.c.
References CatalogTupleInsert(), fb(), 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().
Definition at line 97 of file pg_largeobject.c.
References BTEqualStrategyNumber, CatalogTupleDelete(), ereport, errcode(), errmsg(), ERROR, fb(), HeapTupleIsValid, ObjectIdGetDatum(), RowExclusiveLock, ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), HeapTupleData::t_self, table_close(), and table_open().
Referenced by doDeletion().
Definition at line 169 of file pg_largeobject.c.
References fb(), and LargeObjectExistsWithSnapshot().
Referenced by be_lo_unlink(), get_object_address(), getObjectDescription(), and getObjectIdentityParts().
Definition at line 178 of file pg_largeobject.c.
References AccessShareLock, BTEqualStrategyNumber, fb(), HeapTupleIsValid, ObjectIdGetDatum(), ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), table_close(), and table_open().
Referenced by has_lo_priv_byid(), inv_open(), and LargeObjectExists().