pgsql/src/include/catalog (catversion.h pg_operator.h pg_proc.h)

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/include/catalog (catversion.h pg_operator.h pg_proc.h)
Date: 2000-11-21 03:23:20
Message-ID: 200011210323.eAL3NKB87004@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Monday, November 20, 2000 @ 22:23:20
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/catalog
from hub.org:/home/projects/pgsql/tmp/cvs-serv86997/src/include/catalog

Modified Files:
catversion.h pg_operator.h pg_proc.h

----------------------------- Log Message -----------------------------

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.

Browse pgsql-committers by date

  From Date Subject
Next Message tgl 2000-11-21 03:23:21 pgsql/src/test/regress/sql (oid.sql)
Previous Message tgl 2000-11-21 03:23:19 pgsql/src/backend/utils/adt (oid.c)