diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-21 03:23:21 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-21 03:23:21 +0000 |
commit | 93fcbd140a8d9044b8fb238e2a6e2266c4851f0d (patch) | |
tree | ca547a0e2f5f32d8947c384f761d84ca865ef91e /src/backend/access/gist/gistget.c | |
parent | 01f2547c6b8a459b6a86582044f95fefaf5d6b5a (diff) | |
download | postgresql-93fcbd140a8d9044b8fb238e2a6e2266c4851f0d.tar.gz postgresql-93fcbd140a8d9044b8fb238e2a6e2266c4851f0d.zip |
Make oidin/oidout produce and consume unsigned representation of Oid,
rather than just being aliases for int4in/int4out. Give type Oid a
full set of comparison operators that do proper unsigned comparison,
instead of reusing the int4 comparators. Since pg_dump is now doing
unsigned comparisons of OIDs, it is now *necessary* that we play by
the rules here. In fact, given that btoidcmp() has been doing unsigned
comparison for quite some time, it seems likely that we have index-
corruption problems in 7.0 and before once the Oid counter goes past
2G. Fixing these operators is a necessary step before we can think
about 8-byte Oid, too.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions