public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ian Barwick <[email protected]>
To: [email protected]
Subject: Minor doc correction for SPI_execute_with_args
Date: Fri, 29 May 2015 17:01:01 +0900
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

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


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [text/x-patch] doc-spi-execute-with-args.patch (549B, 2-doc-spi-execute-with-args.patch)
  download | inline diff:
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>


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Minor doc correction for SPI_execute_with_args
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox