- Notifications
You must be signed in to change notification settings - Fork5k
Commit499faf9
committed
smgr: Make SMgrRelation initialization safer against errors
In case the smgr_open callback failed, the ->pincount field would not beinitialized and the relation would not be put onto the unpinned_relns list.This buglet was introduced in21d9c3e, in 17.Discussion:https://postgr.es/m/3vae7l5ozvqtxmd7rr7zaeq3qkuipz365u3rtim5t5wdkr6f4g@vkgf2fogjirlBackpatch-through: 171 parent62d712e commit499faf9
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 | 237 |
| |
241 | 238 |
| |
242 | 239 |
| |
| 240 | + | |
| 241 | + | |
| 242 | + | |
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
|
0 commit comments
Comments
(0)