pgsql: Fix thinko in SPI_execute_plan() calls

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix thinko in SPI_execute_plan() calls
Дата
Msg-id E1VkESN-0000f5-GG@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix thinko in SPI_execute_plan() calls

Two call sites were apparently thinking that the last argument of
SPI_execute_plan() is the number of query parameters, but it is actually
the row limit.  Change the calls to 0, since we don't care about the
limit there.  The previous code didn't break anything, but it was still
wrong.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b7212c9726ee4bdf0ddd938742f03e86d8c431bf

Modified Files
--------------
src/backend/utils/adt/ruleutils.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Avoid potential buffer overflow crash
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Avoid potential buffer overflow crash