Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YyFE8-0005oF-0L for pgsql-docs@arkaria.postgresql.org; Fri, 29 May 2015 08:01:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YyFE7-0002Qc-1o for pgsql-docs@arkaria.postgresql.org; Fri, 29 May 2015 08:01:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YyFE6-0002QW-Ck for pgsql-docs@postgresql.org; Fri, 29 May 2015 08:01:10 +0000 Received: from mail-pa0-f53.google.com ([209.85.220.53]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YyFE3-0007X2-DM for pgsql-docs@postgresql.org; Fri, 29 May 2015 08:01:09 +0000 Received: by pacux9 with SMTP id ux9so6941024pac.3 for ; Fri, 29 May 2015 01:01:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type; bh=vG5eqbf4Rx+hi0Wzbi44ptJ/NScVJSd4eb3bkHsFUAc=; b=XlaRpNw9FpgJ0voMIOA/P2dJVVxD2CQUsL/LqRsCMOjk6qyDTuKHobX5PFhSaL9qXG cx3+iuvDfnuFYsiJ9ZopR7zGZDs0mJYrYtQ+DOkDPBI/Y0LvPFLuKJtNF570Okodmvb4 R7m0r+CTyuzwRlapuyH/UxzZ9O392Eu6uUsyfXHrU5Pr75x+ThrdkwSrXPQmQHfh0xIt dywgLR4/U6tlVobNfMwXJfa8TN+drQJ78eIMmM3LuxoS8wYuAsDI44ExmI4vA2AxWPAs 8p0huTYtXezm3G77XXXQ+gc1yQov2gRMu65Knfk4a1ChLRccGVt0y1FDAlfAIycvhNlP ZF/A== X-Gm-Message-State: ALoCoQlWQnfTEYodRxItoI6k18MUHlz4nvyalk7fWWHbH7Ma1izrUA2myR6B8B6yVTYrN0vSbfQ6xojxGQDsSjsQECtm3i9hFNAhzVDK250jwty4bxjUobC8icWWeNJvUCmMbumco2OB8bmgneQ3WmEF9c+PsfJOqad0qxSCheNHbH5ry2pWS0hvZu89gFGXRK7QcHgg2YwT X-Received: by 10.66.90.166 with SMTP id bx6mr12842609pab.76.1432886465165; Fri, 29 May 2015 01:01:05 -0700 (PDT) Received: from [192.168.1.2] (p2308108-ipngn17801marunouchi.tokyo.ocn.ne.jp. [153.224.129.108]) by mx.google.com with ESMTPSA id cp10sm4662457pdb.44.2015.05.29.01.01.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 May 2015 01:01:04 -0700 (PDT) Message-ID: <55681CBD.8040004@2ndquadrant.com> Date: Fri, 29 May 2015 17:01:01 +0900 From: Ian Barwick User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Minor doc correction for SPI_execute_with_args Content-Type: multipart/mixed; boundary="------------080005020802020602030306" X-Pg-Spam-Score: -3.7 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------080005020802020602030306 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 --------------080005020802020602030306 Content-Type: text/x-patch; name="doc-spi-execute-with-args.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="doc-spi-execute-with-args.patch" 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 *

Return Value =20=20 ! The return value is the same as for SPI_execute. =20=20 --- 842,848 ---- Return Value =20=20 ! The return value is the same as for SPI_execute_plan. =20=20 --------------080005020802020602030306 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------080005020802020602030306--