From: | webbohan <webbohan(at)qq(dot)com> |
---|---|
To: | webbohan <webbohan(at)qq(dot)com> |
Cc: | pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | 回复:BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true |
Date: | 2025-10-05 10:05:59 |
Message-ID: | tencent_E7B3EB9BCD305CBF3C20AF141C782B8DB307@qq.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
there is patch.
I have remove the meaningless code.
------------------ 原始邮件 ------------------
发件人: "webbohan" <noreply(at)postgresql(dot)org>;
发送时间: 2025年10月5日(星期天) 上午10:29
收件人: "pgsql-bugs"<pgsql-bugs(at)lists(dot)postgresql(dot)org>;
抄送: "webbohan"<webbohan(at)qq(dot)com>;
主题: BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true
The following bug has been logged on the website:
Bug reference: 19073
Logged by: Webbo Han
Email address: webbohan(at)qq(dot)com
PostgreSQL version: 18.0
Operating system: all
Description:
In function _SPI_execute_plan(), `my_tuptable` is local variable and
initialized as NULL.
If plan is canSetTag subqueries, `SPI_freetuptable(my_tuptable)` is
meaningless, because `my_tuptable` is NULL.
We'd better remove this code.
Attachment | Content-Type | Size |
---|---|---|
remove_meaningless_code.patch | application/octet-stream | 438 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Markus KARG | 2025-10-05 10:06:27 | Re: Potential "AIO / io workers" inter-worker locking issue in PG18? |
Previous Message | Marco Boeringa | 2025-10-05 08:55:01 | Potential "AIO / io workers" inter-worker locking issue in PG18? |