Обсуждение: pgsql/src/backend/utils/adt (timestamp.c date.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/utils/adt (timestamp.c date.c)

От
tgl@postgresql.org
Дата:
  Date: Thursday, December  7, 2000 @ 13:38:59
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
     from hub.org:/home/projects/pgsql/tmp/cvs-serv92502/backend/utils/adt

Modified Files:
    timestamp.c date.c

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

Make OVERLAPS operators conform to SQL92 spec regarding NULL handling.
As I read it, the spec requires a non-null result in some cases where
one of the inputs is NULL: specifically, if the other endpoint of that
interval is between the endpoints of the other interval, then the result
is known TRUE despite the missing endpoint.  The spec could've been a
lot simpler if they did not intend this behavior.
I did not force an initdb for this change, but if you don't do one you'll
still see the old strict-function behavior.