]> git.ipfire.org Git - thirdparty/postgresql.git/commit
|This patch fixes a backend crash that happens sometimes when you try to
authorMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 01:07:43 +0000 (01:07 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 01:07:43 +0000 (01:07 +0000)
commite38de384e2c529540f79032a589c367e6b2688b3
tree014a1d8a64947b6fa9f53d38061fe79dd01e2a43
parentf46246a27967945253ea996450e66da2b4f398cf
|This patch fixes a backend crash that happens sometimes when you try to
|join on a field that contains NULL in some rows.  Postgres tries to
|compute a hash value of the field you're joining on, but when the field
|is NULL, the pointer it thinks is pointing to the data is really just
|pointing to random memory.  This forces the hash value of NULL to be 0.
|
|It seems that nothing matches NULL on joins, even other NULL's (with or
|without this patch).  Is that what's supposed to happen?
|

Submitted by: Dan McGuirk <mcguirk@indirect.com>
src/backend/executor/nodeHash.c