- Notifications
You must be signed in to change notification settings - Fork28
Commit1dde578
committed
Clean up data conversion short-lived memory context.
dblink uses a short-lived data conversion memory context. However itwas not deleted when no longer needed, leading to a noticeable memoryleak under some circumstances. Plug the hole, along with minorrefactoring. Backpatch to 9.2 where the leak was introduced.Report and initial patch by MauMau. Reviewed/modified slightly byTom Lane and me.1 parentecac0e2 commit1dde578
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
980 | 987 | | |
981 | 988 | | |
982 | 989 | | |
| |||
1041 | 1048 | | |
1042 | 1049 | | |
1043 | 1050 | | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1044 | 1057 | | |
1045 | 1058 | | |
1046 | 1059 | | |
| |||
1204 | 1217 | | |
1205 | 1218 | | |
1206 | 1219 | | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | 1220 | | |
1217 | 1221 | | |
1218 | 1222 | | |
| |||
0 commit comments
Comments
(0)