]> granicus.if.org Git - postgresql/commit
|From: Dan McGuirk <mcguirk@indirect.com>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 01:52:36 +0000 (01:52 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 01:52:36 +0000 (01:52 +0000)
commitf796387b602c8d0c538eba6b96bf86c399c4cd36
treeb396eb71c6595fe4db14065f0c310e5dd033dfa3
parent9848d3655d44aa2e58d28fe9f93a94b2934eedc8
|From: Dan McGuirk <mcguirk@indirect.com>
|
|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?
|
src/backend/executor/nodeHash.c