]> granicus.if.org Git - postgresql/commit
Fix thinko in SPI_execute_plan() calls
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Nov 2013 14:34:57 +0000 (09:34 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Nov 2013 14:34:57 +0000 (09:34 -0500)
commitb7212c9726ee4bdf0ddd938742f03e86d8c431bf
tree95e17c66af2aee9017b68bcf08de8a793f34a06a
parent4053189d594a5eb1949bba26766fdb0de837e255
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.
src/backend/utils/adt/ruleutils.c