Skip to content

Commit 3b15255

Browse files
committed
doc: in contrib-spi, mention and link to the meaning of SPI
Also remove outdated comment about SPI subtransactions. Reported-by: gregory@arenius.com Discussion: https://postgr.es/m/151726276676.1240.10501743959198501067@wrigleys.postgresql.org Backpatch-through: 9.3
1 parent 2275796 commit 3b15255

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/src/sgml/contrib-spi.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
<para>
1212
The <application>spi</application> module provides several workable examples
13-
of using SPI and triggers. While these functions are of some value in
13+
of using the <link linkend="spi">Server Programming Interface</link>
14+
(<acronym>SPI</acronym>) and triggers. While these functions are of
15+
some value in
1416
their own right, they are even more useful as examples to modify for
1517
your own purposes. The functions are general enough to be used
1618
with any table, but you have to specify table and field names (as described

doc/src/sgml/spi.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
have documented error-return conventions. Those conventions only apply
4343
for errors detected within the SPI functions themselves, however.)
4444
It is possible to recover control after an error by establishing your own
45-
subtransaction surrounding SPI calls that might fail. This is not currently
46-
documented because the mechanisms required are still in flux.
45+
subtransaction surrounding SPI calls that might fail.
4746
</para>
4847

4948
<para>

0 commit comments

Comments
 (0)