On Mon, Jan 29, 2018 at 08:39:22PM -0700, David G. Johnston wrote: > On Monday, January 29, 2018, Bruce Momjian <br...@momjian.us> 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 <br...@momjian.us> 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 +
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 **** <para> The <application>spi</application> 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 ---- <para> The <application>spi</application> module provides several workable examples ! of using the Server Programming Interface (<acronym>SPI</acronym>) 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