- Notifications
You must be signed in to change notification settings - Fork5
Commit2b4f2ab
committed
Remove the correct pgstat file on DROP DATABASE
We were unlinking the permanent file, not the non-permanent one. Butsince the stat collector already unlinks all permanent files on startup,there was nothing for it to unlink. The non-permanent file remained inplace, and was copied to the permanent directory on shutdown, so ineffect no file was ever dropped.Backpatch to 9.3, where the issue was introduced by commit187492b.Before that, there were no per-database files and thus no file to dropon DROP DATABASE.Per report from Thom Brown.Author: Tomáš Vondra1 parent65b9671 commit2b4f2ab
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4772 | 4772 |
| |
4773 | 4773 |
| |
4774 | 4774 |
| |
4775 |
| - | |
| 4775 | + | |
4776 | 4776 |
| |
4777 | 4777 |
| |
4778 | 4778 |
| |
|
0 commit comments
Comments
(0)