{
   "name": "pg_num2int_direct_comp",
   "abstract": "Exact comparison operators between numeric/float and integer types, with index use",
   "description": "Stock PostgreSQL compares an integer column with a numeric or float value by casting the column, which defeats its index, or by casting the value, which can give a wrong answer. This extension adds exact cross-type comparison operators for int2/int4/int8 against numeric, float4 and float8, joins them to the btree and hash operator families, and rewrites comparisons with a constant into native integer predicates so indexes, merge joins and hash joins apply.",
   "version": "1.0.0",
   "date": "2026-11-27T15:49:19Z",
   "maintainer": "dataStone Inc. <dave.sharpe@datastone.ca>",
   "release_status": "stable",
   "user": "dave",
   "sha1": "56b216a0d29fb395138edfed00216b9f43f8d219",
   "license": "mit",
   "prereqs": {
      "runtime": {
         "requires": {
            "PostgreSQL": "16.0.0"
         }
      }
   },
   "provides": {
      "pg_num2int_direct_comp": {
         "abstract": "Exact numeric/float x integer comparison operators",
         "docfile": "README.md",
         "file": "pg_num2int_direct_comp--1.0.0.sql",
         "version": "1.0.0"
      }
   },
   "tags": ["numeric", "float", "integer", "comparison", "operator", "index"],
   "resources": {
      "bugtracker": {
         "web": "https://github.com/datastone-inc/pg_num2int_direct_comp/issues"
      },
      "homepage": "https://github.com/datastone-inc/pg_num2int_direct_comp",
      "repository": {
         "type": "git",
         "url": "https://github.com/datastone-inc/pg_num2int_direct_comp.git",
         "web": "https://github.com/datastone-inc/pg_num2int_direct_comp"
      }
   }
}
