- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit9d974fa
committed
Avoid rare race condition in privileges.sql regression test.
We created a temp table, then switched to a new session, leavingthe old session to clean up its temp objects in background. If thattook long enough, the eventual attempt to drop the user that ownsthe temp table could fail, as exhibited today by sidewinder.Fix by dropping the temp table explicitly when we're done with it.It's been like this for quite some time, so back-patch to allsupported branches.Report:https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sidewinder&dt=2018-10-16%2014%3A45%3A001 parentbaa94eb commit9d974fa
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1093 | 1093 |
| |
1094 | 1094 |
| |
1095 | 1095 |
| |
| 1096 | + | |
1096 | 1097 |
| |
1097 | 1098 |
| |
1098 | 1099 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
674 | 674 |
| |
675 | 675 |
| |
676 | 676 |
| |
| 677 | + | |
677 | 678 |
| |
678 | 679 |
| |
679 | 680 |
| |
|
0 commit comments
Comments
(0)