PostgreSQL Source Code
git master
|
#include "postgres.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/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 35 of file pg_largeobject.c.
References CatalogTupleInsert(), GetNewOidWithIndex(), GetUserId(), heap_form_tuple(), heap_freetuple(), ObjectIdGetDatum(), OidIsValid, RelationGetDescr, RowExclusiveLock, table_close(), table_open(), and values.
Referenced by inv_create().
void LargeObjectDrop | ( | Oid | loid | ) |
Definition at line 81 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().
Definition at line 153 of file pg_largeobject.c.
References LargeObjectExistsWithSnapshot().
Referenced by get_object_address(), getObjectDescription(), getObjectIdentityParts(), and objectNamesToOids().
Definition at line 162 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().