Hi The documentation for SPI_execute_with_args:
http://www.postgresql.org/docs/current/static/spi-spi-execute-with-args.html claims it returns the same value as SPI_execute, whereas it actually calls SPI_execute_plan which can produce two additional error codes. Regards Ian Barwick -- Ian Barwick http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml new file mode 100644 index c099fcf..108e160 *** a/doc/src/sgml/spi.sgml --- b/doc/src/sgml/spi.sgml *************** int SPI_execute_with_args(const char *<p *** 842,848 **** <title>Return Value</title> <para> ! The return value is the same as for <function>SPI_execute</function>. </para> <para> --- 842,848 ---- <title>Return Value</title> <para> ! The return value is the same as for <function>SPI_execute_plan</function>. </para> <para>
-- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs