2025 년 7 월 17 일 : | 윈 토토 : 윈 토토 18 베타 2
This documentation is for an unsupported version of 배트맨 토토.
You may want to view the same page for the스포츠 토토 : 문서 : 17 : 51.20. pg_enum버전 또는 위에 나열된 다른 지원 버전 중 하나입니다.

47.20. pg_enum

ThePG_ENUM카탈로그에는 항목이 포함되어 있습니다 showing the values and labels for each enum type. The internal representation of a given enum value is actually the OID of its associated row inPG_ENUM.

Table 47-20.PG_ENUM

이름 타입 References Description
OID OID 행 식별자 (숨겨진 속성; 명시 적으로 있어야합니다 선택된)
enumTypid OID PG_TYPE.Oid The OID of thepg_type입력 소유 이 열거적인 가치
enumsortorder float4 열거 유형 내 에서이 열거 값의 정렬 위치
enumlabel name The textual label for this enum value

Oids forpg_enumrows follow a special rule: even-numbered OIDs are guaranteed to be ordered in the same way as the sort ordering of their enum type. That is, if two even OIDs belong to the same enum type, the smaller OID must have the smallerenumsortorder값. 홀수 Numbered OID 값은 종류와의 관계가 필요하지 않습니다. 주문하다. 이 규칙은 열거 비교 루틴을 피할 수 있습니다 많은 일반적인 경우 카탈로그 조회. 생성하는 루틴 Alter Enum 유형은 OID를 열거 값에 할당하려고 시도합니다. 가능할 때마다.

열거 유형이 생성되면 멤버가 할당됩니다. 정렬 주문 위치 1 ..n. 하지만 나중에 추가 된 멤버는의 음수 또는 분수 값이 주어질 수 있습니다.enumsortorder. The only requirement on these values is that they be correctly ordered and unique within each enum type.