postgresql/doc/src/sgml
Tom Lane 0d2b1f305d Invent start_proc parameters for PL/Tcl.
Define GUCs pltcl.start_proc and pltclu.start_proc.  When set to a
nonempty value at the time a new Tcl interpreter is created, the
parameterless pltcl or pltclu function named by the GUC is called to
allow user-controlled initialization to occur within the interpreter.
This is modeled on plv8's start_proc parameter, and also has much in
common with plperl's on_init feature.  It allows users to fully
replace the "modules" feature that was removed in commit 817f2a586.

Since an initializer function could subvert later Tcl code in nearly
arbitrary ways, mark both GUCs as SUSET for now.  It would be nice
to find a way to relax that someday; but the corresponding GUCs in
plperl are also SUSET, and there's not been much complaint.

Discussion: https://postgr.es/m/22067.1488046447@sss.pgh.pa.us
2017-03-07 12:40:44 -05:00
..
ref Remove duplicated word. 2017-03-07 11:18:56 -05:00
.gitignore Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
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 doc: split long query into multiple lines 2013-12-04 10:03:13 -05:00
arch-dev.sgml doc: Fix claim that query is passed as ASCII text 2013-05-30 21:09:27 -04:00
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 Clarify the role of checkpoint at the begininng of base backups 2017-02-26 21:31:54 +01:00
bgworker.sgml Fix spi_worker mention in bgworker documentation 2016-01-28 14:08:21 +01:00
biblio.sgml Properly capitalize hyphenated words in documentation titles. 2011-02-01 17:00:26 -05:00
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 Small correction to BRIN docs 2017-02-21 09:07:15 +00: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 Support SCRAM-SHA-256 authentication (RFC 5802 and 7677). 2017-03-07 14:25:40 +02:00
charset.sgml Add function to import operating system collations 2017-01-18 09:35:56 -05:00
chkpass.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
citext.sgml Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
client-auth.sgml Support SCRAM-SHA-256 authentication (RFC 5802 and 7677). 2017-03-07 14:25:40 +02:00
config.sgml Support SCRAM-SHA-256 authentication (RFC 5802 and 7677). 2017-03-07 14:25:40 +02:00
contacts.sgml Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
contrib-spi.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
contrib.sgml Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
cube.sgml Minor hacking on contrib/cube documentation. 2015-12-29 21:21:04 -05:00
custom-scan.sgml Allow custom and foreign scans to have shutdown callbacks. 2017-02-26 13:41:12 +05:30
datatype.sgml De-support floating-point timestamps. 2017-02-23 11:40:20 -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 Don't uselessly rewrite, truncate, VACUUM, or ANALYZE partitioned tables. 2017-03-02 17:23:44 +05:30
dfunc.sgml Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
dict-int.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
dict-xsyn.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
diskusage.sgml Get rid of pg_class.reltoastidxid. 2013-07-04 03:24:09 +09:00
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 Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
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 plr 2017-02-21 12:37:30 -05:00
fdwhandler.sgml Allow custom and foreign scans to have shutdown callbacks. 2017-02-26 13:41:12 +05:30
features.sgml Update SQL features/conformance information to SQL:2011 2012-05-17 09:50:04 +03:00
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 Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
fixrtf Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
func.sgml Add pg_current_logfile() function. 2017-03-03 11:43:11 +05:30
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 doc: Improve setup for documentation building with FOP 2013-10-21 06:43:08 -04:00
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 Remove all references to "xlog" from SQL-callable functions in pg_proc. 2017-02-09 15:10:09 -05:00
history.sgml Add small doc mention that libpq is named after POSTQUEL. 2012-09-02 08:42:03 -04:00
hstore.sgml Add hstore_to_jsonb() and hstore_to_jsonb_loose() to hstore documentation. 2016-02-03 12:57:13 -05:00
indexam.sgml Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05: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 Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
information_schema.sgml Add CREATE SEQUENCE AS <data type> clause 2017-02-10 15:34:35 -05:00
install-windows.sgml doc: Update URL for Microsoft download site 2017-01-17 10:05:01 -05:00
installation.sgml De-support floating-point timestamps. 2017-02-23 11:40:20 -05:00
intagg.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
intarray.sgml doc: remove GIN vs. GiST performance mention 2016-06-28 16:00:40 -04:00
intro.sgml Support automatically-updatable views. 2012-12-08 18:26:21 -05:00
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 Add keywords for partitioning 2017-02-10 09:07:18 +00:00
legal.sgml Update manual set of copyright files for 2017 2017-01-03 13:45:17 -05:00
libpq.sgml Document new libpq connection statuses for target_session_attrs. 2017-02-15 11:05:44 -05:00
lo.sgml Add more limited large object trigger example. 2012-08-14 23:25:20 -04:00
lobj.sgml Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
logical-replication.sgml doc: Logical replication documentation improvements 2017-01-25 12:42:11 -05:00
logicaldecoding.sgml Formatting and docs corrections for logical decoding output plugins. 2017-02-15 18:15:47 -05: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
Makefile Build HTML documentation using XSLT stylesheets by default 2016-11-15 23:00:38 -08: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 btree: Support parallel index scans. 2017-02-15 07:41:14 -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 doc: Remove paragraph about typesetting conventions 2013-05-31 22:45:03 -04:00
oid2name.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pageinspect.sgml Cache hash index's metapage in rel->rd_amcache. 2017-02-07 12:35:45 -05:00
parallel.sgml Corrections and improvements to generic parallel query documentation. 2017-02-14 09:41:18 -05:00
passwordcheck.sgml Remove support for native krb5 authentication 2014-01-19 17:05:01 +01:00
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 Replace references to "xlog" with "wal" in docs. 2017-02-14 02:30:46 +09:00
pgstatstatements.sgml Docs: explain contrib/pg_stat_statements' handling of GC failure. 2015-10-05 12:44:12 -04:00
pgstattuple.sgml pgstattuple: Add pgstathashindex. 2017-02-03 14:37:16 -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 Fix typo: pg_statistics -> pg_statistic 2017-01-25 14:38:33 -05:00
plhandler.sgml Make UNKNOWN into an actual pseudo-type. 2017-01-25 09:27:09 -05:00
plperl.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
plpgsql.sgml doc: Put callouts in SQL comments 2017-03-03 15:03:03 -05:00
plpython.sgml Support multi-dimensional arrays in PL/python. 2016-10-26 10:56:30 +03:00
pltcl.sgml Invent start_proc parameters for PL/Tcl. 2017-03-07 12:40:44 -05:00
postgres-fdw.sgml Document what values postgres_fdw sets for each parameter it sets. 2017-03-07 10:57:46 -05:00
postgres.sgml Logical replication 2017-01-20 09:04:49 -05:00
problems.sgml Use "backend process" rather than "backend server", where appropriate. 2011-03-12 09:38:56 -05:00
protocol.sgml Support SCRAM-SHA-256 authentication (RFC 5802 and 7677). 2017-03-07 14:25:40 +02:00
queries.sgml Make UNKNOWN into an actual pseudo-type. 2017-01-25 09:27:09 -05:00
query.sgml doc: Put callouts in SQL comments 2017-03-03 15:03:03 -05:00
rangetypes.sgml docs: Map operator @> to the proper SGML escape for '>' 2015-10-07 09:42:26 -04:00
README.links docs: improve xref description for xreflabel and refentry links 2014-01-30 12:26:18 -05:00
recovery-config.sgml Remove all references to "xlog" from SQL-callable functions in pg_proc. 2017-02-09 15:10:09 -05:00
reference.sgml Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05: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 Fix typo: pg_statistics -> pg_statistic 2017-01-25 14:38:33 -05: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 Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00
release-9.3.sgml Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00
release-9.4.sgml Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00
release-9.5.sgml Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00
release-9.6.sgml Replace min_parallel_relation_size with two new GUCs. 2017-02-15 13:37:24 -05:00
release-old.sgml Correct old release note item 2017-03-02 11:09:44 -05: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 doc: Add advice about systemd RemoveIPC 2017-02-15 10:46:31 -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 Properly capitalize documentation headings; some only had initial-word 2011-01-29 13:01:48 -05:00
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 Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
start.sgml doc: Update version() and current_date output in tutorial 2016-05-31 16:45:02 -04:00
storage.sgml Add pg_current_logfile() function. 2017-03-03 11:43:11 +05:30
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 Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03: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.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: remove duplicate index entry. 2017-02-16 11:30:07 -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 Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
test-decoding.sgml doc: Fix spacing in verbatim environments 2014-07-08 11:39:36 -04:00
textsearch.sgml Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
trigger.sgml doc: Add missing include in example code 2017-02-02 16:50:28 -05:00
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 Change unknown-type literals to type text in SELECT and RETURNING lists. 2017-01-25 09:17:24 -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 doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
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

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