Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egN0g-0004wU-Rz for pgsql-docs@arkaria.postgresql.org; Tue, 30 Jan 2018 03:55:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egN0f-0000em-Mn for pgsql-docs@arkaria.postgresql.org; Tue, 30 Jan 2018 03:55:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1egN0f-0000ec-HG for pgsql-docs@lists.postgresql.org; Tue, 30 Jan 2018 03:55:01 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1egN0Y-0005Ky-By for pgsql-docs@lists.postgresql.org; Tue, 30 Jan 2018 03:55:00 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1egN0W-00048M-0D; Mon, 29 Jan 2018 22:54:52 -0500 Date: Mon, 29 Jan 2018 22:54:51 -0500 From: Bruce Momjian To: "David G. Johnston" Cc: "gregory@arenius.com" , "pgsql-docs@lists.postgresql.org" Subject: Re: SPI not defined. Message-ID: <20180130035451.GB23631@momjian.us> References: <151726276676.1240.10501743959198501067@wrigleys.postgresql.org> <20180130032616.GA23631@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Mon, Jan 29, 2018 at 08:39:22PM -0700, David G. Johnston wrote: > On Monday, January 29, 2018, Bruce Momjian wrote: > > > How is the attached patch? > > > > Maybe add a link to: > >  https://www.postgresql.org/docs/10/static/spi.html > > Also, on that page, the error handling mechanisms have been "in flux" since 8.0 > ... ? > > " This is not currently documented because the mechanisms required are still in > flux. " OK, updated patch with both fixes. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + --jq0ap7NbKX2Kqbes Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="spi.diff" diff --git a/doc/src/sgml/contrib-spi.sgml b/doc/src/sgml/contrib-spi.sgml new file mode 100644 index 32c7105..2dc2d92 *** a/doc/src/sgml/contrib-spi.sgml --- b/doc/src/sgml/contrib-spi.sgml *************** *** 10,16 **** The spi module provides several workable examples ! of using SPI and triggers. While these functions are of some value in their own right, they are even more useful as examples to modify for your own purposes. The functions are general enough to be used with any table, but you have to specify table and field names (as described --- 10,17 ---- The spi module provides several workable examples ! of using the Server Programming Interface (SPI) and ! triggers. While these functions are of some value in their own right, they are even more useful as examples to modify for your own purposes. The functions are general enough to be used with any table, but you have to specify table and field names (as described --jq0ap7NbKX2Kqbes--