↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operators

%(int2,int2)

modulus

Reading PG 18·Select a recorded version

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

Definition PG 18

modulus

Compare versions

Complete source facts

operator

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

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f