Re: dividing money by money

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andy Balholm <andy(at)balholm(dot)com>
Cc: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: dividing money by money
Date: 2010-05-31 00:01:21
Message-ID: 22244.1275264081@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Andy Balholm <andy(at)balholm(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2010-05-31 00:19:14 PGCon 2010 pictures available
Previous Message Andrew Dunstan 2010-05-30 22:58:32 Re: release notes

Browse pgsql-www by date

  From Date Subject
Next Message Andy Balholm 2010-05-31 21:59:06 Re: dividing money by money
Previous Message Andy Balholm 2010-05-30 22:54:57 Re: dividing money by money