- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitde0bea8
committed
Lock relation used to generate fresh data for RMV.
Back-patch the 9.4-era commit2636ecf into 9.3, as that fixes a casewhere we open a relation while not holding any lock on it. It'sprobably mostly safe anyway, since no other session could touch thenewly-created table; but I think CheckTableNotInUse could be fooledif one tried.Per testing with a patch that complains if we open a relation withoutholding any lock on it. I don't plan to back-patch that patch, but weshould close the holes it identifies in all supported branches.Discussion:https://postgr.es/m/2038.1538335244@sss.pgh.pa.us1 parent00d00b5 commitde0bea8
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
211 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
212 | 217 |
| |
| 218 | + | |
213 | 219 |
| |
214 | 220 |
| |
215 | 221 |
| |
|
0 commit comments
Comments
(0)