forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb1d6538
committed
Fix race condition when sharing tuple descriptors.
Parallel query processes that called BlessTupleDesc() for identicaltuple descriptors at the same moment could crash. There was code tohandle that rare case, but it dereferenced a bogus DSA pointer. Repair.Back-patch to 11, where commit cc5f8136 added support for sharing tupledescriptors in parallel queries.Reported-by: Eric Thinnes <e.thinnes@gmx.de>Discussion:https://postgr.es/m/99aaa2eb-e194-bf07-c29a-1a76b4f2bcf9%40gmx.de1 parentd69fcb9 commitb1d6538
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2822 | 2822 |
| |
2823 | 2823 |
| |
2824 | 2824 |
| |
2825 |
| - | |
| 2825 | + | |
2826 | 2826 |
| |
2827 | 2827 |
| |
2828 | 2828 |
| |
|
0 commit comments
Comments
(0)