- Notifications
You must be signed in to change notification settings - Fork5
Commitf796387
committed
|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?|1 parent9848d36 commitf796387
1 file changed
+11
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
527 | 527 |
| |
528 | 528 |
| |
529 | 529 |
| |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
530 | 540 |
| |
531 | 541 |
| |
532 | 542 |
| |
|
0 commit comments
Comments
(0)