- Notifications
You must be signed in to change notification settings - Fork5
Commit3c000fd
committed
Fix two small bugs in json's populate_record_worker
The first bug is not releasing a tupdesc when doing an early return outof the function. The second bug is a logic error in choosing when to doan early return if given an empty jsonb object.Bug reports from Pavel Stehule and Tom Lane respectively.Backpatch to 9.4 where these were introduced.1 parentc90b85e commit3c000fd
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2115 | 2115 |
| |
2116 | 2116 |
| |
2117 | 2117 |
| |
| 2118 | + | |
2118 | 2119 |
| |
2119 | 2120 |
| |
2120 | 2121 |
| |
| |||
2123 | 2124 |
| |
2124 | 2125 |
| |
2125 | 2126 |
| |
2126 |
| - | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
2127 | 2130 |
| |
| 2131 | + | |
2128 | 2132 |
| |
2129 | 2133 |
| |
2130 | 2134 |
| |
|
0 commit comments
Comments
(0)