shark
extension for D compatibility
shark · extension for D compatibility
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101763 | shark | shark | 2.0 | SIM | MulanPSL-2.0 | C++ |
Usage
Sources:
- Official upstream README
- Official extension control file (shark.control)
- Official extension SQL (shark–1.0.sql)
shark — extension for D compatibility. 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
dbcc_check_ident_no_reseed(varchar, boolean, boolean)is an extension function and returnsvarchar.dbcc_check_ident_reseed(varchar, int16, boolean)is an extension function and returnsvarchar.fetch_status()is an extension function and returnsint.objectproperty(id INT, property VARCHAR)is an extension function and returnsINT.rowcount()is an extension function and returnsint.rowcount_big()is an extension function and returnsbigint.spid()is an extension function and returnsbigint.sys.day(abstime)is an extension function and returnsfloat8.sys.day(date)is an extension function and returnsfloat8.sys.day(timestamp(0) with time zone)is an extension function and returnsfloat8.sys.day(timestamptz)is an extension function and returnsfloat8.sys.object_id(IN object_name VARCHAR, IN object_type VARCHAR DEFAULT '')is an extension function and returnsinteger.sys.pltsql_call_handler()is an extension function and returnslanguage_handler.sys.pltsql_inline_handler(internal)is an extension function and returnsvoid.
Requirements and Caveats
- The reviewed control file declares default version
2.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.