- Notifications
You must be signed in to change notification settings - Fork5
Commitaa3299f
committed
Avoid retaining multiple relation locks in RangeVarGetRelid.
If it turns out we've locked the wrong OID, release the old lock. Inmost cases, it's pretty harmless to retain the extra lock, but thisseems tidier and avoids using lock table slots unnecessarily.Per discussion with Tom Lane.1 parenta6ce8ba commitaa3299f
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
325 | 329 |
| |
326 |
| - | |
327 |
| - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
328 | 337 |
| |
329 | 338 |
| |
330 | 339 |
| |
|
0 commit comments
Comments
(0)