BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true
Дата
Msg-id 19073-93772b97a2f1ecf3@postgresql.org
обсуждение исходный текст
Ответы 回复:BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true
Re: BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      19073
Logged by:          Webbo Han
Email address:      webbohan@qq.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.


В списке pgsql-bugs по дате отправления: