forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitac5bdf6
committed
Fix buggy logic in isTempNamespaceInUse()
The logic introduced in this routine as of246a6c8 would report anincorrect result when a session calls it to check if the temporarynamespace owned by the session is in use or not. It is possible tooptimize more the routine in this case to avoid a PGPROC lookup, butlet's keep the logic simple. As this routine is used only by autovacuumfor now, there were no live bugs, still let's be correct for any futurecode involving it.Author: Michael PaquierReviewed-by: Julien RouhaudDiscussion:https://postgr.es/m/20200113093703.GA41902@paquier.xyzBackpatch-through: 111 parent4d8a8d0 commitac5bdf6
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3235 | 3235 |
| |
3236 | 3236 |
| |
3237 | 3237 |
| |
3238 |
| - | |
3239 |
| - | |
| 3238 | + | |
| 3239 | + | |
3240 | 3240 |
| |
3241 | 3241 |
| |
3242 | 3242 |
| |
|
0 commit comments
Comments
(0)