22#include "catalog/pg_enum_d.h"
63 const char *
neighbor,
bool newValIsAfter,
66 const char *oldVal,
const char *newVal);
#define BEGIN_CATALOG_STRUCT
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
#define BKI_LOOKUP(catalog)
#define END_CATALOG_STRUCT
#define DECLARE_UNIQUE_INDEX(name, oid, oidmacro, tblname, decl)
#define CATALOG(name, oid, oidmacro)
#define MAKE_SYSCACHE(name, idxname, nbuckets)
void RestoreUncommittedEnums(void *space)
void RenameEnumLabel(Oid enumTypeOid, const char *oldVal, const char *newVal)
Size EstimateUncommittedEnumsSpace(void)
bool EnumUncommitted(Oid enum_id)
void EnumValuesDelete(Oid enumTypeOid)
void AddEnumLabel(Oid enumTypeOid, const char *newVal, const char *neighbor, bool newValIsAfter, bool skipIfExists)
void SerializeUncommittedEnums(void *space, Size size)
END_CATALOG_STRUCT typedef FormData_pg_enum * Form_pg_enum
void EnumValuesCreate(Oid enumTypeOid, List *vals)