Expand description
Re-export of the PostgreSQL OID constants. Access as hyperdb_api::oids::INT4 etc.
Well-known Hyper type OIDs.
These constants match the values used by the Hyper server and C API.
Standard PostgreSQL OIDs (e.g., INT = 23, TEXT = 25) are identical
to upstream PostgreSQL. Hyper-specific OIDs (e.g., GEOGRAPHY = 5003)
are in a non-conflicting range.
Constantsยง
- BIG_INT
- 64-bit integer (BIGINT)
- BOOL
- Boolean type
- BYTE_A
- Binary data (BYTEA)
- CHAR
- Fixed-length character
- CHAR1
- Single character (internal)
- DATE
- Date (days since epoch)
- DOUBLE
- 64-bit floating point (DOUBLE PRECISION/FLOAT8)
- FLOAT
- 32-bit floating point (REAL/FLOAT4)
- GEOGRAPHY
- Tableau geography type (matches HYPER_OID_GEOGRAPHY in C API)
- INT
- 32-bit integer (INT)
- INTERVAL
- Time interval
- JSON
- JSON data
- NUMERIC
- Arbitrary precision numeric
- OID
- Object identifier
- SMALL_
INT - 16-bit integer (SMALLINT)
- TEXT
- Variable-length text
- TIME
- Time of day (microseconds since midnight)
- TIMESTAMP
- Timestamp without timezone
- TIMESTAMP_
TZ - Timestamp with timezone
- VARCHAR
- Variable-length character with limit