These functions can be gathered using the following query from a Postgres 15 instance: SELECT * FROM pg_operator o WHERE o.oprname = '%' ORDER BY o.oprcode::varchar; initBinaryMod registers the functions to the catalog.
()
| 29 | |
| 30 | // initBinaryMod registers the functions to the catalog. |
| 31 | func initBinaryMod() { |
| 32 | framework.RegisterBinaryFunction(framework.Operator_BinaryMod, int2mod) |
| 33 | framework.RegisterBinaryFunction(framework.Operator_BinaryMod, int4mod) |
| 34 | framework.RegisterBinaryFunction(framework.Operator_BinaryMod, int8mod) |
| 35 | framework.RegisterBinaryFunction(framework.Operator_BinaryMod, numeric_mod) |
| 36 | } |
| 37 | |
| 38 | // int2mod represents the PostgreSQL function of the same name, taking the same parameters. |
| 39 | var int2mod = framework.Function2{ |
no test coverage detected