postgresql/doc/src/sgml
Tom Lane f13a1277aa Doc: improve documentation of new SRF-in-tlist behavior.
Correct a misstatement about how things used to work: we did allow nested
SRFs before, as long as no function had more than one set-returning input.

Also, attempt to document the fact that the new implementation changes the
behavior for SRFs within conditional constructs (eg CASE): the conditional
construct no longer gates whether the SRF is run, and thus cannot affect
the number of rows emitted.  We might want to change this behavior, but
first it behooves us to see if we can explain it.

Minor other wordsmithing on what I wrote yesterday, too.

Discussion: https://postgr.es/m/20170118214702.54b2mdbxce5piwv5@alap3.anarazel.de
2017-01-18 18:10:23 -05:00
..
ref Add compression support to pg_receivexlog 2017-01-17 12:10:26 +01:00
.gitignore
Makefile Build HTML documentation using XSLT stylesheets by default 2016-11-15 23:00:38 -08:00
README.links
acronyms.sgml Document LSN acronym in WAL Internals 2016-09-05 09:47:49 +01:00
adminpack.sgml Doc: write some for adminpack. 2016-08-10 21:39:50 -04:00
advanced.sgml
arch-dev.sgml
array.sgml Allow omitting one or both boundaries in an array slice specifier. 2015-12-22 21:05:29 -05:00
auth-delay.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
auto-explain.sgml Rename auto_explain.sample_ratio to sample_rate 2016-03-13 13:18:03 +01:00
backup.sgml Change default values for backup and replication parameters 2017-01-14 17:14:56 +01:00
bgworker.sgml Fix spi_worker mention in bgworker documentation 2016-01-28 14:08:21 +01:00
biblio.sgml
bki.sgml Allow forcing nullness of columns during bootstrap. 2015-02-21 22:31:54 +01:00
bloom.sgml docs: re-add spaces before units removed 2016-08-05 14:36:17 -04:00
brin.sgml Documentation spell checking and markup improvements 2016-07-28 22:46:15 -04:00
btree-gin.sgml docs: consistently uppercase index method and add spacing 2015-05-15 11:42:34 -04:00
btree-gist.sgml Add uuid to the set of types supported by contrib/btree_gist. 2016-11-29 14:08:34 -05:00
catalogs.sgml Reorder pg_sequence columns to avoid alignment issue 2016-12-21 09:06:49 -05:00
charset.sgml Add function to import operating system collations 2017-01-18 09:35:56 -05:00
chkpass.sgml
citext.sgml Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
client-auth.sgml Allow SSL configuration to be updated at SIGHUP. 2017-01-02 21:37:12 -05:00
config.sgml Change default values for backup and replication parameters 2017-01-14 17:14:56 +01:00
contacts.sgml
contrib-spi.sgml
contrib.sgml Bloom index contrib module 2016-04-01 16:42:24 +03:00
cube.sgml Minor hacking on contrib/cube documentation. 2015-12-29 21:21:04 -05:00
custom-scan.sgml Allow parallel custom and foreign scans. 2016-02-03 12:49:46 -05:00
datatype.sgml Improve documentation of timestamp internal representation. 2017-01-04 16:30:16 -05: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 Remove sql_inheritance GUC. 2016-12-23 07:35:01 -05:00
dfunc.sgml Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml
dml.sgml Doc: add a section in Part II concerning RETURNING. 2016-11-22 14:02:52 -05:00
docguide.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
earthdistance.sgml Doc: update external URLs for PostGIS project. 2015-12-12 20:02:09 -05:00
ecpg.sgml Added missing "EXEC SQL" to statement. 2016-12-01 12:26:50 +01:00
errcodes.sgml
event-trigger.sgml Mention table_rewrite as valid event trigger tag 2015-07-15 17:10:54 +03:00
extend.sgml Delete deleteWhatDependsOn() in favor of more performDeletion() flag bits. 2016-12-02 14:57:55 -05:00
external-projects.sgml doc: Update URL for PL/PHP 2016-07-11 12:10:10 -04:00
fdwhandler.sgml Remove GetUserMappingId() and GetUserMappingById(). 2016-07-22 11:32:23 -04:00
features.sgml
file-fdw.sgml Allow contrib/file_fdw to read from a program, like COPY FROM PROGRAM. 2016-09-29 13:32:34 -04:00
filelist.sgml Add more parallel query documentation. 2016-09-21 08:37:02 -04:00
fixrtf
func.sgml Implement array version of jsonb_delete and operator 2017-01-18 21:37:59 +01:00
fuzzystrmatch.sgml Improve levenshtein() docs. 2016-01-22 12:29:07 -05:00
generate-errcodes-table.pl Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
generic-wal.sgml Improve API of GenericXLogRegister(). 2016-04-12 11:42:06 -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 Fix assorted inconsistencies in GiST opclass support function declarations. 2016-01-19 12:04:36 -05:00
high-availability.sgml Support quorum-based synchronous replication. 2016-12-19 21:15:30 +09:00
history.sgml
hstore.sgml Add hstore_to_jsonb() and hstore_to_jsonb_loose() to hstore documentation. 2016-02-03 12:57:13 -05:00
indexam.sgml Doc: remove out-of-date claim that pg_am rows must be inserted by hand. 2016-08-16 10:59:14 -04:00
indices.sgml Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -04:00
info.sgml
information_schema.sgml doc: Remove documentation of nonexistent information schema columns 2016-08-03 13:50:13 -04:00
install-windows.sgml doc: Update URL for Microsoft download site 2017-01-17 10:05:01 -05:00
installation.sgml Fix creation of stand-alone INSTALL.html file. 2016-12-05 14:49:00 +02:00
intagg.sgml
intarray.sgml doc: remove GIN vs. GiST performance mention 2016-06-28 16:00:40 -04:00
intro.sgml
isn.sgml Update URL reference material in /contrib/isn docs 2014-09-03 17:22:20 -04:00
jadetex.cfg Improve our workaround for 'TeX capacity exceeded' in building PDF files. 2015-11-10 15:59:59 -05:00
json.sgml Docs: add example clarifying use of nested JSON containment. 2015-10-29 18:55:02 -04:00
keywords.sgml Update key words table for 9.6 2016-05-11 15:01:44 -04:00
legal.sgml Update manual set of copyright files for 2017 2017-01-03 13:45:17 -05:00
libpq.sgml libpq: Add target_session_attrs parameter. 2016-11-29 12:18:31 -05:00
lo.sgml
lobj.sgml Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
logicaldecoding.sgml Fix wording of logical decoding concepts 2016-09-03 16:19:11 +01:00
ltree.sgml docs: properly capitalize and space kB, MB, GB, TB 2016-07-30 12:27:39 -04:00
maintenance.sgml Doc: small improvements for documentation about VACUUM freezing. 2016-09-06 17:50:53 -04:00
manage-ag.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
mk_feature_tables.pl Use 'use strict' in all Perl programs 2017-01-05 12:34:48 -05:00
monitoring.sgml Provide a DSA area for all parallel queries. 2016-12-19 17:11:46 -05:00
mvcc.sgml Update doc text to reflect new column in MVCC phenomena table. 2016-05-25 11:17:08 -05:00
nls.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
notation.sgml
oid2name.sgml
pageinspect.sgml Add subsection headers in pageinspect documentation 2016-11-01 15:16:31 -04:00
parallel.sgml Spellcheck: s/descendent/descendant/g 2016-12-23 11:53:35 -05:00
passwordcheck.sgml
perform.sgml Rename "pg_xlog" directory to "pg_wal". 2016-10-20 11:32:18 -04:00
pgbuffercache.sgml Fix obsolete header-file reference in pg_buffercache docs. 2016-07-13 11:17:15 -04:00
pgcrypto.sgml Remove support for OpenSSL versions older than 0.9.8. 2016-08-29 20:16:02 +03:00
pgfreespacemap.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
pgprewarm.sgml Small grammar fix 2015-08-31 14:07:17 +02:00
pgrowlocks.sgml docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05:00
pgstandby.sgml doc: fix incorrect 'literal' tags 2016-08-23 12:45:36 -04:00
pgstatstatements.sgml Docs: explain contrib/pg_stat_statements' handling of GC failure. 2015-10-05 12:44:12 -04:00
pgstattuple.sgml Explain unaccounted for space in pgstattuple. 2016-12-27 11:23:46 -05:00
pgtrgm.sgml Docs: assorted minor cleanups. 2016-09-12 19:19:41 -04:00
pgvisibility.sgml Copy-editing for contrib/pg_visibility documentation. 2016-10-01 15:32:53 -04:00
planstats.sgml Improve wording in the planner doc 2016-02-16 15:49:00 +09:00
plhandler.sgml
plperl.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
plpgsql.sgml Doc: improve discussion of plpgsql's GET DIAGNOSTICS, other minor fixes. 2016-07-18 16:52:06 -04:00
plpython.sgml Support multi-dimensional arrays in PL/python. 2016-10-26 10:56:30 +03:00
pltcl.sgml Support PL/Tcl functions that return composite types and/or sets. 2016-11-06 17:56:05 -05:00
postgres-fdw.sgml Fix whitespace 2016-05-31 13:56:25 -04:00
postgres.sgml Add more parallel query documentation. 2016-09-21 08:37:02 -04:00
problems.sgml
protocol.sgml Add support for temporary replication slots 2016-12-12 08:38:17 -05:00
queries.sgml Spellcheck: s/descendent/descendant/g 2016-12-23 11:53:35 -05:00
query.sgml
rangetypes.sgml docs: Map operator @> to the proper SGML escape for '>' 2015-10-07 09:42:26 -04:00
recovery-config.sgml Update recovery_min_apply_delay docs for remote_apply mode. 2016-09-19 13:38:21 -04:00
reference.sgml Support CREATE ACCESS METHOD 2016-03-23 23:01:35 -03:00
regress.sgml Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
release-7.4.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-8.0.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-8.1.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-8.2.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-8.3.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-8.4.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-9.0.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release-9.1.sgml Release notes for 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, 9.1.24. 2016-10-23 22:13:28 -04:00
release-9.2.sgml Release notes for 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, 9.1.24. 2016-10-23 22:13:28 -04:00
release-9.3.sgml Release notes for 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, 9.1.24. 2016-10-23 22:13:28 -04:00
release-9.4.sgml Release notes for 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, 9.1.24. 2016-10-23 22:13:28 -04:00
release-9.5.sgml Update release notes for last-minute commit timestamp fix. 2016-10-24 09:37:23 -04:00
release-9.6.sgml Update release notes for last-minute commit timestamp fix. 2016-10-24 09:37:23 -04:00
release-old.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
release.sgml First-draft release notes for Postgres 9.6. 2016-05-05 13:27:59 -04:00
replication-origins.sgml Fix ordering/categorization of some recently-added system views. 2016-05-05 12:33:29 -04:00
rowtypes.sgml Doc: improve documentation about composite-value usage. 2016-11-22 17:56:42 -05:00
rules.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
runtime.sgml Re-allow SSL passphrase prompt at server start, but not thereafter. 2017-01-04 12:44:03 -05:00
seg.sgml docs: HTML-escape '>' in '=>' using HTML entities 2015-08-05 23:03:45 -04:00
sepgsql.sgml doc: Fix typos 2016-07-14 22:28:58 -04:00
sourcerepo.sgml
sources.sgml Fix typo in sources.sgml. 2016-10-31 07:33:00 +09:00
spgist.sgml Make another editorial pass over the 9.6 release notes. 2016-08-28 17:40:06 -04:00
spi.sgml Simplify code by getting rid of SPI_push, SPI_pop, SPI_restore_connection. 2016-11-08 17:39:57 -05:00
sql.sgml Implement SKIP LOCKED for row-level locks 2014-10-07 17:23:34 -03:00
sslinfo.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -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: improve link. 2016-11-10 10:37:14 -05:00
stylesheet-common.xsl doc: Improve whitespace use in XSL 2016-11-09 15:01:27 -05:00
stylesheet-fo.xsl doc: Fix PDF build with FOP 2015-06-03 20:19:47 -04:00
stylesheet-hh.xsl
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.css Build HTML documentation using XSLT stylesheets by default 2016-11-15 23:00:38 -08:00
stylesheet.dsl doc: Move website-stylesheet setting to a more appropriate location 2014-12-11 21:48:01 -05:00
stylesheet.xsl doc: Port page header customizations to XSLT 2016-11-04 22:14:10 -04:00
syntax.sgml Doc: improve index entry for "median". 2016-12-23 12:53:09 -05:00
tablefunc.sgml Improve documentation for \crosstabview. 2016-04-13 11:49:47 -04:00
tablesample-method.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
tcn.sgml
test-decoding.sgml doc: Fix spacing in verbatim environments 2014-07-08 11:39:36 -04:00
textsearch.sgml Fix strange behavior (and possible crashes) in full text phrase search. 2016-12-21 15:18:39 -05:00
trigger.sgml doc: Minor wording changes 2016-04-29 13:03:58 -04:00
tsearch2.sgml
tsm-system-rows.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
tsm-system-time.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
typeconv.sgml Use standard casting mechanism to convert types in plpgsql, when possible. 2015-03-04 11:04:30 -05:00
unaccent.sgml Update contrib/unaccent documentation about its unaccent.rules file. 2016-04-30 15:06:26 -04:00
user-manag.sgml Create default roles 2016-04-08 16:56:27 -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 Rename "pg_xlog" directory to "pg_wal". 2016-10-20 11:32:18 -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 Doc: improve documentation of new SRF-in-tlist behavior. 2017-01-18 18:10:23 -05:00
xindex.sgml Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -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 doc: Various typo/grammar fixes 2014-08-30 10:52:36 -05:00
xplang.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
xtypes.sgml Support "expanded" objects, particularly arrays, for better performance. 2015-05-14 12:08:49 -04:00

README.links

<!-- 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