forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit233ecca
committed
Further thinking about heap_mark4update: in HeapTupleSelfUpdated case,
executor should not return the tuple as successfully marked, because infact it's been deleted. Not clear that this case has ever been seenin practice (I think you'd have to write a SELECT FOR UPDATE that callsa function that deletes some row the SELECT will visit later...) but weshould be consistent. Also add comments to several other places thatgot it right but didn't explain what they were doing.1 parent0d3be98 commit233ecca
2 files changed
+8
-2
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1209 | 1209 |
| |
1210 | 1210 |
| |
1211 | 1211 |
| |
| 1212 | + | |
1212 | 1213 |
| |
1213 | 1214 |
| |
1214 | 1215 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
1032 | 1032 |
| |
1033 | 1033 |
| |
1034 | 1034 |
| |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1035 | 1038 |
| |
1036 | 1039 |
| |
1037 | 1040 |
| |
| |||
1303 | 1306 |
| |
1304 | 1307 |
| |
1305 | 1308 |
| |
| 1309 | + | |
1306 | 1310 |
| |
1307 | 1311 |
| |
1308 | 1312 |
| |
| |||
1437 | 1441 |
| |
1438 | 1442 |
| |
1439 | 1443 |
| |
| 1444 | + | |
1440 | 1445 |
| |
1441 | 1446 |
| |
1442 | 1447 |
| |
|
0 commit comments
Comments
(0)