gms_raw
process raw type data for PL/SQL applications
gms_raw · process raw type data for PL/SQL applications
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101378 | gms_raw | gms_raw | 1.0 | SIM | MulanPSL-2.0 | C++ |
Usage
Sources:
- Official upstream README
- Official extension control file (gms_raw.control)
- Official extension SQL (gms_raw–1.0.sql)
gms_raw — process raw type data for PL/SQL applications. Use it when porting or emulating the corresponding database API. Upstream describes this capability as experimental.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
gms_raw.bit_and(r1 in raw, r2 in raw)is an extension function and returnsraw.gms_raw.bit_complement(r1 in raw)is an extension function and returnsraw.gms_raw.bit_or(r1 in raw, r2 in raw)is an extension function and returnsraw.gms_raw.bit_xor(r1 in raw, r2 in raw)is an extension function and returnsraw.gms_raw.cast_from_binary_double(n in binary_double, endianess in integer default 1)is an extension function and returnsraw.gms_raw.cast_from_binary_float(n in float, endianess in integer default 1)is an extension function and returnsraw.gms_raw.cast_from_binary_integer(n in bigint, endianess in integer default 1)is an extension function and returnsraw.gms_raw.cast_from_number(n in number)is an extension function and returnsraw.gms_raw.cast_to_binary_double(r in raw, endianess in integer default 1)is an extension function and returnsbinary_double.gms_raw.cast_to_binary_float(r in raw, endianess in integer default 1)is an extension function and returnsfloat4.gms_raw.cast_to_binary_integer(r in raw, endianess in integer default 1)is an extension function and returnsbinary_integer.gms_raw.cast_to_number(r in raw)is an extension function and returnsnumber.gms_raw.cast_to_nvarchar2(r in raw)is an extension function and returnsnvarchar2.gms_raw.cast_to_raw(c in varchar2)is an extension function and returnsraw.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as non-relocatable.
- Upstream labels part or all of the project experimental.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.