forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit49a1c22
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 parent5f920de commit49a1c22
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1189 | 1189 |
| |
1190 | 1190 |
| |
1191 | 1191 |
| |
| 1192 | + | |
1192 | 1193 |
| |
1193 | 1194 |
| |
1194 | 1195 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
732 | 732 |
| |
733 | 733 |
| |
734 | 734 |
| |
| 735 | + | |
735 | 736 |
| |
736 | 737 |
| |
737 | 738 |
| |
|
0 commit comments
Comments
(0)