postgresql/doc/src/sgml
Tom Lane 936df5ba80 Doc: add example of transition table use in a trigger.
I noticed that there were exactly no complete examples of use of
a transition table in a trigger function, and no clear description
of just how you'd do it either.  Improve that.
2017-09-16 15:31:26 -04:00
..
ref Fix SQL-spec incompatibilities in new transition table feature. 2017-09-16 13:20:36 -04:00
.gitignore git-ignore intermediate files from new docs toolchain. 2017-05-15 15:48:40 -04:00
acronyms.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
adminpack.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
advanced.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
amcheck.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
arch-dev.sgml
array.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
auth-delay.sgml
auto-explain.sgml
backup.sgml Improve low-level backup documentation. 2017-08-25 15:20:27 -04:00
bgworker.sgml Don't use bgw_main even to specify in-core bgworker entrypoints. 2017-03-31 20:43:32 -04:00
biblio.sgml doc: Clean up bibliography rendering for XSLT 2017-03-26 14:54:56 -04:00
bki.sgml
bloom.sgml docs: re-add spaces before units removed 2016-08-05 14:36:17 -04:00
brin.sgml doc: Fix typo 2017-06-13 11:28:52 -04:00
btree-gin.sgml Document btree_gin support for enums 2017-03-21 11:11:42 -04:00
btree-gist.sgml Add btree_gist support for enum types. 2017-03-21 10:43:27 -04:00
catalogs.sgml Message style fixes 2017-09-11 11:21:27 -04:00
charset.sgml Don't install ICU collation keyword variants 2017-08-21 19:21:07 -04:00
chkpass.sgml
citext.sgml Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
client-auth.sgml doc: Document default scope in LDAP URL 2017-09-12 10:02:34 -04:00
config.sgml doc: Remove mentions of server-side CRL and CA file names 2017-09-01 14:18:45 -04:00
contacts.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
contrib-spi.sgml
contrib.sgml Add amcheck extension to contrib. 2017-03-09 16:33:02 -08:00
cube.sgml
custom-scan.sgml Separate reinitialization of shared parallel-scan state from ExecReScan. 2017-08-30 13:18:16 -04:00
datatype.sgml doc: Mention identity column feature in section on serial 2017-08-22 19:55:21 -04:00
datetime.sgml Don't require dynamic timezone abbreviations to match underlying time zone. 2016-09-02 17:30:02 -04:00
dblink.sgml Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
ddl.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
dfunc.sgml Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:55 -04:00
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml
dml.sgml doc: Remove remark elements 2017-04-05 13:18:32 -04:00
docguide.sgml doc: Update URL of DocBook XSL stylesheets 2017-08-16 14:44:26 -04:00
earthdistance.sgml
ecpg.sgml Implement DO CONTINUE action for ECPG WHENEVER statement. 2017-08-25 15:17:29 +02:00
errcodes.sgml
event-trigger.sgml doc: Fix typos and other minor issues 2017-09-01 23:34:12 -04:00
extend.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
external-projects.sgml Add pgtcl back to the list of externally-maintained client interfaces. 2017-08-02 16:55:03 -04:00
fdwhandler.sgml doc: Make function synopsis formatting more uniform 2017-09-06 11:38:28 -04:00
features.sgml
file-fdw.sgml Change default of log_directory to 'log' 2017-03-27 10:34:33 -04:00
filelist.sgml doc: Remove unused file 2017-05-15 12:09:19 -04:00
func.sgml Apply pg_get_serial_sequence() to identity column sequences as well 2017-09-15 14:21:20 -04:00
fuzzystrmatch.sgml fuzzystrmatch: Add test suite 2017-09-14 22:22:59 -04:00
generate-errcodes-table.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
generic-wal.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
geqo.sgml
gin.sgml Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -04:00
gist.sgml
high-availability.sgml doc: Fix table column count 2017-08-17 10:37:12 -04:00
history.sgml
hstore.sgml
indexam.sgml doc: Fix typos and other minor issues 2017-09-01 23:34:12 -04:00
indices.sgml hash: Add write-ahead logging support. 2017-03-14 13:27:02 -04:00
info.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
information_schema.sgml Correct representation of foreign tables in information schema 2017-08-16 11:03:33 -04:00
install-windows.sgml Doc: specify that the minimum supported version of Perl is 5.8.3. 2017-07-31 13:42:48 -04:00
installation.sgml Add support for ICU 4.2 2017-08-05 09:32:42 -04:00
intagg.sgml
intarray.sgml doc: remove GIN vs. GiST performance mention 2016-06-28 16:00:40 -04:00
intro.sgml
isn.sgml
json.sgml doc: Update RFC URLs 2017-08-17 11:47:40 -04:00
keywords.sgml Update key words table for version 10 2017-06-08 17:19:50 -04:00
legal.sgml Update manual set of copyright files for 2017 2017-01-03 13:45:17 -05:00
libpq.sgml Improve documentation about behavior of multi-statement Query messages. 2017-09-07 14:04:45 -04:00
lo.sgml lo: Add test suite 2017-09-14 22:22:59 -04:00
lobj.sgml Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
logical-replication.sgml Document how logical replication deals with statement triggers 2017-07-03 23:37:53 -04:00
logicaldecoding.sgml doc: Fix typos and other minor issues 2017-09-01 23:34:12 -04:00
ltree.sgml docs: properly capitalize and space kB, MB, GB, TB 2016-07-30 12:27:39 -04:00
maintenance.sgml Add note about diskspace usage of pg_commit_ts 2017-09-01 07:57:05 +01:00
Makefile Escape < and & in SGML 2017-09-06 11:22:43 -04:00
manage-ag.sgml
mk_feature_tables.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
monitoring.sgml Use group updates when setting transaction status in clog. 2017-09-01 11:45:40 -04:00
mvcc.sgml Add GUCs for predicate lock promotion thresholds. 2017-04-07 21:38:05 -05:00
nls.sgml
notation.sgml
oid2name.sgml
pageinspect.sgml hash: Increase the number of possible overflow bitmaps by 8x. 2017-08-04 16:30:32 -04:00
parallel.sgml Make some more improvements to parallel query documentation. 2017-08-10 13:22:31 -04:00
passwordcheck.sgml
perform.sgml Message style fixes 2017-09-11 11:21:27 -04:00
pgbuffercache.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
pgcrypto.sgml doc: Update RFC URLs 2017-08-17 11:47:40 -04:00
pgfreespacemap.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
pgprewarm.sgml pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00
pgrowlocks.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
pgstandby.sgml Replace references to "xlog" with "wal" in docs. 2017-02-14 02:30:46 +09:00
pgstatstatements.sgml Fix broken markup. 2017-03-30 17:13:44 -04:00
pgstattuple.sgml hash: Increase the number of possible overflow bitmaps by 8x. 2017-08-04 16:30:32 -04:00
pgtrgm.sgml Docs: assorted minor cleanups. 2016-09-12 19:19:41 -04:00
pgvisibility.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
planstats.sgml doc: Fix typo 2017-06-17 19:03:12 -04:00
plhandler.sgml Remove to pre-8.2 coding convention for PG_MODULE_MAGIC 2017-08-30 22:40:24 -04:00
plperl.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
plpgsql.sgml Doc: add example of transition table use in a trigger. 2017-09-16 15:31:26 -04:00
plpython.sgml PL/Python: Add cursor and execute methods to plan object 2017-03-27 11:37:22 -04:00
pltcl.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
postgres-fdw.sgml When WCOs are present, disable direct foreign table modification. 2017-07-24 15:57:24 -04:00
postgres.sgml Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
problems.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
protocol.sgml doc: Remove incorrect SCRAM protocol documentation 2017-09-13 10:10:34 -04:00
queries.sgml Doc: clarify description of degenerate NATURAL joins. 2017-07-20 12:41:26 -04:00
query.sgml doc: Put callouts in SQL comments 2017-03-03 15:03:03 -05:00
rangetypes.sgml
README.links
recovery-config.sgml Replace "transaction log" with "write-ahead log" 2017-05-12 11:52:43 -04:00
reference.sgml Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
regress.sgml Doc: remove claim that PROVE_FLAGS defaults to '--verbose'. 2017-07-10 00:44:05 -04:00
release-7.4.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release-8.0.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release-8.1.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release-8.2.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release-8.3.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release-8.4.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
release-9.0.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
release-9.1.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
release-9.2.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
release-9.3.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
release-9.4.sgml Doc: adjust release-note credit for parallel pg_restore fix. 2017-08-28 11:40:47 -04:00
release-9.5.sgml Doc: adjust release-note credit for parallel pg_restore fix. 2017-08-28 11:40:47 -04:00
release-9.6.sgml Doc: adjust release-note credit for parallel pg_restore fix. 2017-08-28 11:40:47 -04:00
release-10.sgml PG 10 release notes: change trigger transition tables 2017-09-11 19:56:44 -04:00
release-old.sgml doc: update markup for release note "release date" block 2017-05-12 18:32:04 -04:00
release.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
replication-origins.sgml
rowtypes.sgml Doc: improve documentation about composite-value usage. 2016-11-22 17:56:42 -05:00
rules.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
runtime.sgml doc: Remove useless marked section 2017-09-12 10:55:04 -04:00
seg.sgml
sepgsql.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
sourcerepo.sgml Doc: clarify wording about tool requirements in sourcerepo.sgml. 2017-07-10 00:08:19 -04:00
sources.sgml doc: Document function pointer source code style 2017-09-11 14:47:15 -04:00
spgist.sgml Make another editorial pass over the 9.6 release notes. 2016-08-28 17:40:06 -04:00
spi.sgml Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
sslinfo.sgml doc: Remove mentions of server-side CRL and CA file names 2017-09-01 14:18:45 -04:00
standalone-install.sgml
start.sgml doc: Update version() and current_date output in tutorial 2016-05-31 16:45:02 -04:00
storage.sgml Doc: fix backwards description of visibility map's all-frozen data. 2017-07-09 12:51:15 -04:00
stylesheet-common.xsl doc: Change xref style to number only 2017-04-03 10:50:32 -04:00
stylesheet-fo.xsl doc: Improve PDF bookmarks 2017-08-15 14:37:44 -04:00
stylesheet-hh.xsl
stylesheet-html-common.xsl Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
stylesheet-html-nochunk.xsl Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
stylesheet-man.xsl doc: Supply XSLT template for superscript element in man pages 2016-07-17 17:01:07 -04:00
stylesheet-speedup-common.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-speedup-xhtml.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-text.xsl Create INSTALL file via XSLT 2017-03-08 08:41:23 -05:00
stylesheet.css doc: Tweak CSS 2017-04-12 15:41:41 -04:00
stylesheet.xsl Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
syntax.sgml Escape < and & in SGML 2017-09-06 11:22:43 -04:00
tablefunc.sgml
tablesample-method.sgml
tcn.sgml
test-decoding.sgml Rename WAL-related functions and views to use "lsn" not "location". 2017-05-11 11:49:59 -04:00
textsearch.sgml Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
trigger.sgml Doc: add example of transition table use in a trigger. 2017-09-16 15:31:26 -04:00
tsm-system-rows.sgml
tsm-system-time.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
typeconv.sgml Change unknown-type literals to type text in SELECT and RETURNING lists. 2017-01-25 09:17:24 -05:00
unaccent.sgml
user-manag.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
uuid-ossp.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
vacuumlo.sgml
wal.sgml Standardize "WAL location" terminology 2017-05-12 13:51:27 -04:00
xaggr.sgml Improve speed of aggregates that use array_append as transition function. 2016-10-30 12:27:41 -04:00
xfunc.sgml Remove to pre-8.2 coding convention for PG_MODULE_MAGIC 2017-08-30 22:40:24 -04:00
xindex.sgml Distinguish selectivity of < from <= and > from >=. 2017-09-13 11:12:39 -04:00
xml2.sgml Delete contrib/xml2's legacy implementation of xml_is_well_formed(). 2016-11-04 18:29:53 -04:00
xoper.sgml Distinguish selectivity of < from <= and > from >=. 2017-09-13 11:12:39 -04:00
xplang.sgml Remove createlang and droplang 2017-03-23 14:16:45 -04:00
xtypes.sgml

<!-- doc/src/sgml/README.links -->

Linking within SGML documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get chapter/section number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  has no close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link
	text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

o  If you want to supply text, use <link>, else <xref>
o  Do not use text with <ulink> so the URL appears in printed output
o  Specific nouns like GUC variables, SQL commands, and contrib modules
   usually have xreflabels