forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3e2cfa4
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 parentb568d38 commit3e2cfa4
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
972 | 979 | | |
973 | 980 | | |
974 | 981 | | |
| |||
1033 | 1040 | | |
1034 | 1041 | | |
1035 | 1042 | | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
1036 | 1049 | | |
1037 | 1050 | | |
1038 | 1051 | | |
| |||
1196 | 1209 | | |
1197 | 1210 | | |
1198 | 1211 | | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | 1212 | | |
1209 | 1213 | | |
1210 | 1214 | | |
| |||
0 commit comments
Comments
(0)