PostgreSQL Source Code
git master
|
Go to the source code of this file.
Typedefs | |
typedef FormData_pg_range * | Form_pg_range |
Functions | |
CATALOG (pg_range, 3541, RangeRelationId) | |
DECLARE_UNIQUE_INDEX_PKEY (pg_range_rngtypid_index, 3542, RangeTypidIndexId, pg_range, btree(rngtypid oid_ops)) | |
DECLARE_UNIQUE_INDEX (pg_range_rngmultitypid_index, 2228, RangeMultirangeTypidIndexId, pg_range, btree(rngmultitypid oid_ops)) | |
MAKE_SYSCACHE (RANGETYPE, pg_range_rngtypid_index, 4) | |
MAKE_SYSCACHE (RANGEMULTIRANGE, pg_range_rngmultitypid_index, 4) | |
void | RangeCreate (Oid rangeTypeOid, Oid rangeSubType, Oid rangeCollation, Oid rangeSubOpclass, RegProcedure rangeCanonical, RegProcedure rangeSubDiff, Oid multirangeTypeOid) |
void | RangeDelete (Oid rangeTypeOid) |
Variables | |
FormData_pg_range | |
typedef FormData_pg_range* Form_pg_range |
Definition at line 58 of file pg_range.h.
CATALOG | ( | pg_range | , |
3541 | , | ||
RangeRelationId | |||
) |
DECLARE_UNIQUE_INDEX | ( | pg_range_rngmultitypid_index | , |
2228 | , | ||
RangeMultirangeTypidIndexId | , | ||
pg_range | , | ||
btree(rngmultitypid oid_ops) | |||
) |
DECLARE_UNIQUE_INDEX_PKEY | ( | pg_range_rngtypid_index | , |
3542 | , | ||
RangeTypidIndexId | , | ||
pg_range | , | ||
btree(rngtypid oid_ops) | |||
) |
MAKE_SYSCACHE | ( | RANGEMULTIRANGE | , |
pg_range_rngmultitypid_index | , | ||
4 | |||
) |
MAKE_SYSCACHE | ( | RANGETYPE | , |
pg_range_rngtypid_index | , | ||
4 | |||
) |
void RangeCreate | ( | Oid | rangeTypeOid, |
Oid | rangeSubType, | ||
Oid | rangeCollation, | ||
Oid | rangeSubOpclass, | ||
RegProcedure | rangeCanonical, | ||
RegProcedure | rangeSubDiff, | ||
Oid | multirangeTypeOid | ||
) |
Definition at line 36 of file pg_range.c.
References add_exact_object_address(), CatalogTupleInsert(), ObjectAddress::classId, DEPENDENCY_INTERNAL, DEPENDENCY_NORMAL, free_object_addresses(), heap_form_tuple(), heap_freetuple(), new_object_addresses(), ObjectAddressSet, ObjectAddress::objectId, ObjectIdGetDatum(), ObjectAddress::objectSubId, OidIsValid, record_object_address_dependencies(), recordDependencyOn(), RelationGetDescr, RowExclusiveLock, table_close(), table_open(), and values.
Referenced by DefineRange().
void RangeDelete | ( | Oid | rangeTypeOid | ) |
Definition at line 113 of file pg_range.c.
References BTEqualStrategyNumber, CatalogTupleDelete(), HeapTupleIsValid, sort-test::key, ObjectIdGetDatum(), RowExclusiveLock, ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), HeapTupleData::t_self, table_close(), and table_open().
Referenced by RemoveTypeById().
FormData_pg_range |
Definition at line 51 of file pg_range.h.