diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/spi.sgml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml index d6ff492ba99..d710e2d0df3 100644 --- a/doc/src/sgml/spi.sgml +++ b/doc/src/sgml/spi.sgml @@ -740,6 +740,17 @@ int SPI_execute_extended(const char *<parameter>command</parameter>, </varlistentry> <varlistentry> + <term><literal>bool <parameter>must_return_tuples</parameter></literal></term> + <listitem> + <para> + if <literal>true</literal>, raise error if the query is not of a kind + that returns tuples (this does not forbid the case where it happens to + return zero tuples) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><literal>uint64 <parameter>tcount</parameter></literal></term> <listitem> <para> @@ -1870,6 +1881,17 @@ int SPI_execute_plan_extended(SPIPlanPtr <parameter>plan</parameter>, </varlistentry> <varlistentry> + <term><literal>bool <parameter>must_return_tuples</parameter></literal></term> + <listitem> + <para> + if <literal>true</literal>, raise error if the query is not of a kind + that returns tuples (this does not forbid the case where it happens to + return zero tuples) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><literal>uint64 <parameter>tcount</parameter></literal></term> <listitem> <para> |