{"Entry":{"collection":"operator","key":"op-2d-int4-int8","name":"-(int4,int8)","aliases":["-","-(int4,int8)"],"metadata":{"aliases":["-","-(int4,int8)"],"category":"Numeric","content_hash":"fb7c54509f2a0e7a9b9f688067481b144bb518ec0875b1f3b110312a9d6aaee4","derived_content_hash":"e94bbaf8f9707d8ebdbc9148592a0605d9a769d14cac1488a3bb7030569601c5","imported_at":"2026-09-30T00:40:40.899428+08:00","name":"-(int4,int8)","name_zh":"","slug":"op-2d-int4-int8","summary":"subtract"}},"Definition":{"Collection":"operator","Key":"op-2d-int4-int8","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-2d-int4-int8","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["-","-(int4,int8)"],"comparison_data":{"memberships":[],"operator":{"commutator":"","function":"int48mi(int4,int8)","hash_join":"f","kind":"b","left_type":"int4","merge_join":"f","negator":"","result_type":"int8","right_type":"int8","symbol":"-"}},"comparison_hash":"c0e520ee40d616bddcca0e770f69238c32138fdbd4c482defa6c010a17fdf08e","description":["subtract"],"description_zh":"相减。","description_zh_html":"\u003cp\u003e相减。\u003c/p\u003e\u003cdl\u003e\u003cdt\u003e种类\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eb\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e符号\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e-\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e实现函数\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eint48mi(int4,int8)\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e可用于哈希连接\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e否\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e左操作数类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eint4\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e可用于归并连接\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e否\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e右操作数类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eint8\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e结果类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eint8\u003c/code\u003e\u003c/dd\u003e\u003c/dl\u003e\u003ch3\u003e同版本中文手册节选\u003c/h3\u003e\u003cp\u003e\n   目录 \u003ccode class=\"structname\"\u003epg_operator\u003c/code\u003e 存储关于操作符的信息。详见 \u003ca class=\"xref\" href=\"/zh/docs/18/sql-createoperator.html\"\u003e\u003cspan class=\"refentrytitle\"\u003eCREATE OPERATOR\u003c/span\u003e\u003c/a\u003e 和\u003ca class=\"xref\" href=\"/zh/docs/18/xoper.html\"\u003e第 36.14 节\u003c/a\u003e。\n  \u003c/p\u003e\u003cp\u003e\u003ca href=\"/zh/docs/18/catalog-pg-operator.html\"\u003e查看完整中文手册与上下文\u003c/a\u003e。\u003c/p\u003e\u003cp\u003e本页开头的中文说明为 PG.CENTER 对源码说明的翻译；手册节选保留对应版本中文文档原文。源码信息及手册示例不代表重新进行过运行测试。\u003c/p\u003e","facts":[{"label":"Left operand","value":"int4"},{"label":"Right operand","value":"int8"},{"label":"Result type","value":"int8"},{"label":"Implementing function","value":"int48mi(int4,int8)"},{"label":"Operator kind","value":"Binary"},{"label":"Hash join candidate","value":"no"},{"label":"Merge join candidate","value":"no"}],"facts_zh":[{"label":"左操作数","value":"int4"},{"label":"右操作数","value":"int8"},{"label":"返回类型","value":"int8"},{"label":"实现函数","value":"int48mi(int4,int8)"},{"label":"操作符种类","value":"Binary"},{"label":"可用于哈希连接","value":"否"},{"label":"可用于归并连接","value":"否"}],"manual_semantics":"Source catalog description; no additional matching manual operator definition claimed","memberships":[],"operator":{"commutator":"","function":"int48mi(int4,int8)","hash_join":"f","kind":"b","left_type":"int4","merge_join":"f","negator":"","result_type":"int8","right_type":"int8","symbol":"-"},"related":[{"label":"int4 data type","url":"/wiki/type/int4/?v=18"},{"label":"int8 data type","url":"/wiki/type/int8/?v=18"}],"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"sections_zh":[{"paragraphs":["目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 36.14 节 。"],"title":"目录记录解读"}],"signature":"-(int4,int8) → int8","source_oid":"693","sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"}],"tables":[],"tables_zh":[],"zh_from":{"authored_translation":"authored-translation-of-source-description","body_sha256":"1e3501f76a63a4f359c468b9c971ac427f4bb75a4a84c4fd9d7053303c82f8a4","kind":"same-version-chinese-manual-with-authored-translation-of-source-description","manual":{"anchor":"","build_id":107,"extraction":"concept-introduction","fragment_sha256":"81aed42a595595a07ab55430c00e66eb6d05033809e63b1281b205ed73fb5610","locale":"zh-Hans","page_key":"catalog-pg-operator.html","source_hash":"866547c7d8dd1d830de6c28cee33e2e3adb45288d1d47be58b03fbfb346e9d08","source_revision":"unknown:rendered-translation-baseline","translated_from_revision":null,"translation_revision":"git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b","url":"/zh/docs/18/catalog-pg-operator.html","version":"18"},"runtime_rerun":false,"source_facts_revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}},"ManualEvidence":{"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"}]},"MeasuredEvidence":{}},"Text":{"Collection":"operator","Key":"op-2d-int4-int8","SourceDatabase":"center","Version":"18","Locale":"en","Title":"-(int4,int8)","Summary":"subtract","BodyHTML":"\u003cp\u003esubtract\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"2480c7a22d9de4e78074bb76ce49c469f2d3ad4eae9d8f7f0db1b11770c8e86b","Payload":{"description":["subtract"],"related":[{"label":"int4 data type","url":"/wiki/type/int4/?v=18"},{"label":"int8 data type","url":"/wiki/type/int8/?v=18"}],"sections":[{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"tables":[]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
