aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/ts_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsearch2/ts_stat.c')
-rw-r--r--contrib/tsearch2/ts_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/ts_stat.c b/contrib/tsearch2/ts_stat.c
index 2e6a98197e3..badf1d2b01e 100644
--- a/contrib/tsearch2/ts_stat.c
+++ b/contrib/tsearch2/ts_stat.c
@@ -446,7 +446,7 @@ ts_stat_sql(text *txt, text *ws)
/* internal error */
elog(ERROR, "SPI_prepare('%s') returns NULL", query);
- if ((portal = SPI_cursor_open(NULL, plan, NULL, NULL)) == NULL)
+ if ((portal = SPI_cursor_open(NULL, plan, NULL, NULL, false)) == NULL)
/* internal error */
elog(ERROR, "SPI_cursor_open('%s') returns NULL", query);