|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Typedefs | |
| typedef FormData_pg_enum * | Form_pg_enum |
Variables | |
| FormData_pg_enum | |
|
extern |
Definition at line 305 of file pg_enum.c.
References binary_upgrade_next_pg_enum_oid, CatalogTupleInsert(), CStringGetDatum(), EnumTypeUncommitted(), ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errdetail(), errmsg(), ERROR, ExclusiveLock, fb(), Float4GetDatum(), GetCurrentTransactionNestLevel(), GetNewOidWithIndex(), GETSTRUCT(), HASH_ENTER, hash_search(), heap_form_tuple(), heap_freetuple(), HeapTupleIsValid, i, init_uncommitted_enum_values(), InvalidOid, IsBinaryUpgrade, LockDatabaseObject(), NAMEDATALEN, NameGetDatum(), NameStr, namestrcpy(), NOTICE, ObjectIdGetDatum(), OidIsValid, palloc_array, pfree(), qsort, RelationGetDescr, ReleaseCatCacheList(), ReleaseSysCache(), RenumberEnumType(), RowExclusiveLock, SearchSysCache2(), SearchSysCacheList1, sort_order_cmp(), table_close(), table_open(), uncommitted_enum_values, and values.
Referenced by AlterEnum().
Definition at line 739 of file pg_enum.c.
References fb(), uncommitted_enum_types, and uncommitted_enum_values.
Referenced by AbortTransaction(), CommitTransaction(), and PrepareTransaction().
| CATALOG | ( | pg_enum | , |
| 3501 | , | ||
| EnumRelationId | |||
| ) |
| DECLARE_UNIQUE_INDEX | ( | pg_enum_typid_label_index | , |
| 3503 | , | ||
| EnumTypIdLabelIndexId | , | ||
| pg_enum | , | ||
| btree(enumtypid oid_ops, enumlabel name_ops) | |||
| ) |
| DECLARE_UNIQUE_INDEX | ( | pg_enum_typid_sortorder_index | , |
| 3534 | , | ||
| EnumTypIdSortOrderIndexId | , | ||
| pg_enum | , | ||
| btree(enumtypid oid_ops, enumsortorder float4_ops) | |||
| ) |
| DECLARE_UNIQUE_INDEX_PKEY | ( | pg_enum_oid_index | , |
| 3502 | , | ||
| EnumOidIndexId | , | ||
| pg_enum | , | ||
| btree(oid oid_ops) | |||
| ) |
Definition at line 721 of file pg_enum.c.
References fb(), HASH_FIND, hash_search(), and uncommitted_enum_values.
Referenced by check_safe_enum_use().
Definition at line 84 of file pg_enum.c.
References CatalogCloseIndexes(), CatalogOpenIndexes(), CatalogTuplesMultiInsertWithInfo(), ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errdetail(), errmsg(), ERROR, ExecClearTuple(), ExecDropSingleTupleTableSlot(), ExecStoreVirtualTuple(), fb(), Float4GetDatum(), FormData_pg_enum, GetCurrentTransactionNestLevel(), GetNewOidWithIndex(), HASH_ENTER, hash_search(), i, init_uncommitted_enum_types(), lfirst, list_length(), MakeSingleTupleTableSlot(), MAX_CATALOG_MULTI_INSERT_BYTES, Min, NAMEDATALEN, NameGetDatum(), namestrcpy(), ObjectIdGetDatum(), oid_cmp(), palloc0(), palloc_array, pfree(), qsort, RelationGetDescr, RowExclusiveLock, strVal, table_close(), table_open(), TupleTableSlot::tts_values, TTSOpsHeapTuple, and uncommitted_enum_types.
Referenced by DefineEnum().
Definition at line 237 of file pg_enum.c.
References BTEqualStrategyNumber, CatalogTupleDelete(), fb(), HeapTupleIsValid, ObjectIdGetDatum(), RowExclusiveLock, ScanKeyInit(), systable_beginscan(), systable_endscan(), systable_getnext(), table_close(), and table_open().
Referenced by RemoveTypeById().
Definition at line 826 of file pg_enum.c.
References hash_get_num_entries(), uncommitted_enum_types, and uncommitted_enum_values.
Referenced by InitializeParallelDSM(), and SerializeUncommittedEnums().
| MAKE_SYSCACHE | ( | ENUMOID | , |
| pg_enum_oid_index | , | ||
| 8 | |||
| ) |
| MAKE_SYSCACHE | ( | ENUMTYPOIDNAME | , |
| pg_enum_typid_label_index | , | ||
| 8 | |||
| ) |
Definition at line 620 of file pg_enum.c.
References CatalogTupleUpdate(), ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errdetail(), errmsg(), ERROR, ExclusiveLock, fb(), GETSTRUCT(), heap_copytuple(), heap_freetuple(), i, LockDatabaseObject(), NAMEDATALEN, NameStr, namestrcpy(), ObjectIdGetDatum(), ReleaseCatCacheList(), RowExclusiveLock, SearchSysCacheList1, table_close(), and table_open().
Referenced by AlterEnum().
Definition at line 886 of file pg_enum.c.
References Assert, fb(), HASH_ENTER, hash_search(), init_uncommitted_enum_types(), init_uncommitted_enum_values(), OidIsValid, uncommitted_enum_types, and uncommitted_enum_values.
Referenced by ParallelWorkerMain().
Definition at line 840 of file pg_enum.c.
References Assert, EstimateUncommittedEnumsSpace(), fb(), hash_seq_init(), hash_seq_search(), InvalidOid, uncommitted_enum_types, uncommitted_enum_values, and value.
Referenced by InitializeParallelDSM().
| FormData_pg_enum |
Definition at line 37 of file pg_enum.h.
Referenced by EnumValuesCreate().