Andy Balholm <andy@balholm.com> writes:
> How do I come up with OID numbers for my new operators and functions?
Go into src/include/catalog and run the "unused_oids" script found
there. Pick some.
Your chances of getting numbers close to those currently in use for
money-related functions are probably nil, so I'd suggest just using
a consecutive range at or a bit above the last one currently in use.
regards, tom lane