Enclosed below I have a patch to allow a btree index on the int8 type.
Bruce Momjian <bruce@momjian.us>
Enclosed below I have a patch to allow a btree index on the int8 type. I would like some feedback on what the hash function for the int8 hash function in the ./backend/access/hash/hashfunc.c should return. Also, could someone (maybe Tomas Lockhart?) look-over the patch and make sure the system table entries are correct? I've tried to research them as much as I could, but some of them are still not clear to me. Thanks, -Ryan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashfunc.c | modified | +7 −1 |
| src/backend/access/nbtree/nbtcompare.c | modified | +12 −1 |
| src/include/catalog/pg_amop.h | modified | +13 −1 |
| src/include/catalog/pg_amproc.h | modified | +2 −1 |
| src/include/catalog/pg_opclass.h | modified | +3 −1 |
| src/include/catalog/pg_proc.h | modified | +5 −1 |
| src/include/utils/builtins.h | modified | +2 −1 |