pgsql: Fix thinko in SPI_execute_plan() calls
pgsql: Fix thinko in SPI_execute_plan() calls
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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(-)