Nikhil Sontakke
ebbca2dd77
Fix leaks with functions in DML
...
If plpgsql functions are used in DML queries then we were leaking 8KB
for every invocation of that function. This can quickly add up.
The issue was that the "CurTransactionContext" was not getting cleaned
up after every invocation. The reason was that we were inadvertantly
allocating a temporary list in that context. Postgres then thought that
this CurTransactionContext needs to be re-used further and kept it
around. We now use a proper memory context to avoid this.
Fixes #7053
2024-07-02 13:32:06 +05:30
..
2022-08-23 19:40:51 +03:00
2024-01-22 16:23:23 +01:00
2023-05-31 13:18:48 -05:00
2024-05-26 13:52:59 -03:00
2024-05-17 08:24:19 -03:00
2023-12-05 16:15:24 +01:00
2023-08-22 08:08:31 +02:00
2023-10-04 14:49:05 +05:30
2020-06-01 12:39:35 +02:00
2022-05-17 21:47:39 +02:00
2022-11-01 18:01:26 +04:00
2024-02-29 13:31:47 +01:00
2020-09-04 23:27:22 +02:00
2024-04-10 22:59:13 +02:00
2023-08-29 12:55:22 +02:00
2024-04-02 14:21:34 +05:30
2020-09-04 23:27:22 +02:00
2023-07-25 16:00:18 +05:30
2024-05-15 14:22:50 +02:00
2023-11-23 19:09:48 +05:30
2024-07-02 13:32:06 +05:30
2023-07-25 16:00:18 +05:30
2023-08-02 12:41:19 +05:30
2020-09-28 12:15:42 +02:00
2024-01-30 15:01:12 -03:00
2023-03-07 20:45:12 +05:30
2024-05-14 17:19:20 +02:00
2021-06-01 20:21:06 +02:00
2023-09-28 08:14:30 +02:00
2021-10-12 19:01:20 -03:00
2024-05-14 17:19:20 +02:00
2024-01-11 10:52:35 +01:00
2024-05-14 17:19:20 +02:00
2024-06-12 05:08:58 -03:00
2019-01-13 23:30:22 +01:00
2023-10-04 14:49:05 +05:30
2019-01-13 23:30:22 +01:00
2023-10-04 14:49:05 +05:30
2019-01-13 23:30:22 +01:00
2023-11-02 18:37:09 +05:30
2019-01-13 23:30:22 +01:00
2022-08-08 09:39:30 -03:00
2023-08-29 12:55:22 +02:00
2023-10-18 11:45:06 -03:00
2023-08-29 11:15:39 +02:00
2023-10-04 14:49:05 +05:30
2020-06-01 12:39:35 +02:00
2022-08-31 14:14:34 +03:00
2023-10-04 14:49:05 +05:30
2023-10-18 11:45:06 -03:00
2022-11-18 16:31:47 -03:00
2024-02-08 16:02:19 +01:00
2023-10-02 20:59:42 +02:00
2023-05-27 10:29:11 +05:30
2024-01-23 12:53:48 +01:00
2021-06-01 20:21:06 +02:00
2019-01-13 23:30:22 +01:00
2022-11-15 21:49:39 +04:00
2023-11-23 10:01:35 +01:00
2023-12-18 10:53:27 +01:00
2020-06-01 12:39:35 +02:00
2023-12-05 16:15:24 +01:00
2024-01-25 12:01:11 +05:30
2024-01-25 12:01:11 +05:30
2021-06-17 15:16:03 +02:00
2019-01-13 23:30:22 +01:00
2024-01-22 09:18:26 +01:00
2022-11-22 22:36:22 +05:30
2023-07-25 16:00:18 +05:30
2023-10-18 11:45:06 -03:00
2022-11-07 21:20:08 +05:30
2023-09-26 14:35:23 -03:00
2023-05-04 16:32:25 +03:00
2023-11-16 16:35:38 +01:00
2022-06-14 15:04:11 +05:30
2024-02-01 13:25:41 +05:30
2021-06-01 20:21:06 +02:00
2022-11-18 16:31:47 -03:00
2019-01-13 23:30:22 +01:00
2020-04-14 23:12:15 +02:00
2023-10-04 14:49:05 +05:30
2024-04-10 15:13:29 +02:00
2024-04-19 17:32:51 -03:00
2023-08-14 14:42:47 +02:00
2023-10-18 11:45:06 -03:00
2024-04-11 08:36:14 +02:00
2023-10-04 14:49:05 +05:30
2023-09-26 14:35:23 -03:00
2023-10-18 11:45:06 -03:00
2024-05-14 17:19:20 +02:00
2023-09-01 00:44:55 +05:30
2023-11-16 16:35:38 +01:00
2021-10-09 00:36:10 +02:00
2021-10-09 00:36:10 +02:00
2023-08-22 13:42:54 +02:00