↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Operators

-(int4,int2)

subtract

Reading PG 18·Select a recorded version

Left operand
int4
Right operand
int2
Result type
int4
Implementing function
int42mi(int4,int2)
Operator kind
Binary
Hash join candidate
no
Merge join candidate
no
aliases
-, -(int4,int2)
manual semantics
Source catalog description; no additional matching manual operator definition claimed
memberships
Unknown
signature
-(int4,int2) → int4
source oid
557

Definition PG 18

subtract

Compare versions

Complete source facts

operator

{"commutator":"","function":"int42mi(int4,int2)","hash_join":"f","kind":"b","left_type":"int4","merge_join":"f","negator":"","result_type":"int4","right_type":"int2","symbol":"-"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f