pgsql/src backend/access/nbtree/nbtcompare.c b ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/access/nbtree/nbtcompare.c b ...
Date: 2001-05-03 19:00:37
Message-ID: 200105031900.f43J0bL10291@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/05/03 15:00:37

Modified files:
src/backend/access/nbtree: nbtcompare.c
src/backend/utils/adt: date.c float.c nabstime.c numeric.c
timestamp.c varbit.c varchar.c varlena.c
src/include/utils: nabstime.h
src/test/regress/expected: abstime-solaris-1947.out abstime.out
timestamp.out

Log message:
Ensure that btree sort ordering functions and boolean comparison operators
give consistent results for all datatypes. Types float4, float8, and
numeric were broken for NaN values; abstime, timestamp, and interval
were broken for INVALID values; timetz was just plain broken (some
possible pairs of values were neither < nor = nor >). Also clean up
text, bpchar, varchar, and bit/varbit to eliminate duplicate code and
thereby reduce the probability of similar inconsistencies arising in
the future.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-05-03 19:20:26 pgsql/src/test/locale test-ctype.c
Previous Message Tom Lane 2001-05-03 17:50:56 pgsql/doc/src/sgml/ref create_table.sgml