- Notifications
You must be signed in to change notification settings - Fork28
Commit0d21f91
committed
Fix crash when reporting CREATE INDEX progress
A race condition can make us try to dereference a NULL pointer to thePGPROC struct of a process that's already finished. That results incrashes during REINDEX CONCURRENTLY and CREATE INDEX CONCURRENTLY.This was introduced inab0dfc9, so backpatch to pg12.Reported by: Justin PryzbyReviewed-by: Michaël PaquierDiscussion:https://postgr.es/m/20191012004446.GT10470@telsasoft.com1 parenta524f50 commit0d21f91
2 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
391 | | - | |
392 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
| 903 | + | |
907 | 904 | | |
908 | 905 | | |
909 | 906 | | |
910 | 907 | | |
911 | | - | |
912 | | - | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
913 | 911 | | |
914 | 912 | | |
915 | 913 | | |
| |||
0 commit comments
Comments
(0)