forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ec7bd8
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 parent749f702 commit5ec7bd8
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3233 | 3233 |
| |
3234 | 3234 |
| |
3235 | 3235 |
| |
3236 |
| - | |
3237 |
| - | |
| 3236 | + | |
| 3237 | + | |
3238 | 3238 |
| |
3239 | 3239 |
| |
3240 | 3240 |
| |
|
0 commit comments
Comments
(0)