22 #include "catalog/pg_enum_d.h"
47 DECLARE_UNIQUE_INDEX(pg_enum_typid_label_index, 3503, EnumTypIdLabelIndexId, pg_enum, btree(enumtypid oid_ops, enumlabel name_ops));
48 DECLARE_UNIQUE_INDEX(pg_enum_typid_sortorder_index, 3534, EnumTypIdSortOrderIndexId, pg_enum, btree(enumtypid oid_ops, enumsortorder float4_ops));
59 const char *neighbor,
bool newValIsAfter,
62 const char *oldVal,
const char *newVal);
#define BKI_LOOKUP(catalog)
DECLARE_UNIQUE_INDEX(pg_enum_typid_label_index, 3503, EnumTypIdLabelIndexId, pg_enum, btree(enumtypid oid_ops, enumlabel name_ops))
void RestoreUncommittedEnums(void *space)
void RenameEnumLabel(Oid enumTypeOid, const char *oldVal, const char *newVal)
Size EstimateUncommittedEnumsSpace(void)
FormData_pg_enum * Form_pg_enum
bool EnumUncommitted(Oid enum_id)
MAKE_SYSCACHE(ENUMOID, pg_enum_oid_index, 8)
void EnumValuesDelete(Oid enumTypeOid)
void AddEnumLabel(Oid enumTypeOid, const char *newVal, const char *neighbor, bool newValIsAfter, bool skipIfExists)
void SerializeUncommittedEnums(void *space, Size size)
CATALOG(pg_enum, 3501, EnumRelationId)
DECLARE_UNIQUE_INDEX_PKEY(pg_enum_oid_index, 3502, EnumOidIndexId, pg_enum, btree(oid oid_ops))
void EnumValuesCreate(Oid enumTypeOid, List *vals)
static pg_noinline void Size size