postgresql/doc/src/sgml
Tom Lane 3b8f6e75f3 Fix partial-build problems introduced by having more generated headers.
Commit 372728b0d created some problems for usages like building a
subdirectory without having first done "make all" at the top level,
or for proceeding directly to "make install" without "make all".
The only reasonably clean way to fix this seems to be to force the
submake-generated-headers rule to fire in *any* "make all" or "make
install" command anywhere in the tree.  To avoid lots of redundant work,
as well as parallel make jobs possibly clobbering each others' output, we
still need to be sure that the rule fires only once in a recursive build.
For that, adopt the same MAKELEVEL hack previously used for "temp-install".
But try to document it a bit better.

The submake-errcodes mechanism previously used in src/port/ and src/common/
is subsumed by this, so we can get rid of those special cases.  It was
inadequate for src/common/ anyway after the aforesaid commit, and it always
risked parallel attempts to build errcodes.h.

Discussion: https://postgr.es/m/E1f5FAB-0006LU-MB@gemulon.postgresql.org
2018-04-09 16:42:10 -04:00
..
ref Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
.gitignore git-ignore intermediate files from new docs toolchain. 2017-05-15 15:48:40 -04:00
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
README.links docs: improve xref description for xreflabel and refentry links 2014-01-30 12:26:18 -05:00
acronyms.sgml Add documentation for the JIT feature. 2018-03-28 14:22:42 -07:00
adminpack.sgml Support new default roles with adminpack 2018-04-06 14:47:10 -04:00
advanced.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
amcheck.sgml Add amcheck verification of heap relations belonging to btree indexes. 2018-03-31 19:52:01 -07:00
arch-dev.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
array.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
auth-delay.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
auto-explain.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
backup.sgml Doc: clarify explanation of pg_dump usage. 2018-04-08 16:35:42 -04:00
bgworker.sgml doc: Improve wording 2018-03-03 09:56:17 -05:00
biblio.sgml Convert SGML IDs to lower case 2017-10-20 19:26:10 -04:00
bki.sgml Make reformat_dat_file.pl preserve all blank lines. 2018-04-09 14:58:39 -04:00
bloom.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
brin.sgml Log when a BRIN autosummarization request fails 2018-03-14 11:59:40 -03:00
btree-gin.sgml Add support of bool, bpchar, name and uuid to btree_gin 2018-04-05 18:19:10 +03:00
btree-gist.sgml Convert SGML IDs to lower case 2017-10-20 19:26:10 -04:00
btree.sgml Indexes with INCLUDE columns and their support in B-tree 2018-04-07 23:00:39 +03:00
catalogs.sgml Improve covering index documentation 2018-04-09 17:53:42 +03:00
charset.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
citext.sgml Update gratuitous use of MD5 in documentation 2018-02-22 11:34:54 -05:00
client-auth.sgml Allow ldaps when using ldap authentication 2018-01-03 10:11:26 -05:00
config.sgml Allow group access on PGDATA 2018-04-07 17:45:39 -04:00
contrib-spi.sgml doc: in contrib-spi, mention and link to the meaning of SPI 2018-01-31 16:54:33 -05:00
contrib.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:44 -08:00
cube.sgml llow negative coordinate for ~> (cube, int) operator 2018-01-11 14:49:36 +03:00
custom-scan.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
datatype.sgml docs: add parameter with brackets around varbit() 2018-03-30 11:18:08 -04:00
datetime.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dblink.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:44 -08:00
ddl.sgml Doc: fix broken markup. 2018-04-06 20:54:52 -04:00
dfunc.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dict-int.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dict-xsyn.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
diskusage.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dml.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
docguide.sgml doc: Update memory requirements for FOP 2017-12-05 15:41:56 -05:00
earthdistance.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
ecpg.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:44 -08:00
errcodes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
event-trigger.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
extend.sgml Don't qualify type pg_catalog.text in extend-extensions-example. 2018-03-23 20:31:03 -07:00
external-projects.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
fdwhandler.sgml Allow insert and update tuple routing and COPY for foreign tables. 2018-04-06 19:22:03 -04:00
features.sgml Update SQL features/conformance information to SQL:2011 2012-05-17 09:50:04 +03:00
file-fdw.sgml Add default roles for file/program access 2018-04-06 14:47:10 -04:00
filelist.sgml Add documentation for the JIT feature. 2018-03-28 14:22:42 -07:00
func.sgml Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
fuzzystrmatch.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
generate-errcodes-table.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
generic-wal.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
geqo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
gin.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
gist.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
high-availability.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
history.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
hstore.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
indexam.sgml Indexes with INCLUDE columns and their support in B-tree 2018-04-07 23:00:39 +03:00
indices.sgml Indexes with INCLUDE columns and their support in B-tree 2018-04-07 23:00:39 +03:00
info.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
information_schema.sgml Add more information_schema columns 2018-02-07 10:08:02 -05:00
install-windows.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
installation.sgml docs: fix INSTALL.xml build by using "standalone-ignore" 2018-03-29 07:53:57 -04:00
intagg.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
intarray.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
intro.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
isn.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
jit.sgml Improve JIT docs. 2018-03-29 16:13:40 -07:00
json.sgml Transforms for jsonb to PL/Perl 2018-04-03 09:47:18 -04:00
keywords.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
legal.sgml Update copyright for 2018 2018-01-02 23:30:12 -05:00
libpq.sgml Replace our traditional initial-catalog-data format with a better design. 2018-04-08 13:17:27 -04:00
lo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
lobj.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:44 -08:00
logical-replication.sgml Logical replication support for TRUNCATE 2018-04-07 11:34:11 -04:00
logicaldecoding.sgml Logical decoding of TRUNCATE 2018-04-07 11:34:10 -04:00
ltree.sgml doc: remove mention of the DMOZ catalog in ltree docs 2018-04-05 15:55:41 -04:00
maintenance.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
manage-ag.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
mk_feature_tables.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
monitoring.sgml Enhance pg_stat_wal_receiver view to display host and port of sender server. 2018-03-31 07:51:22 +09:00
mvcc.sgml MERGE SQL Command following SQL:2016 2018-04-03 09:28:16 +01:00
nls.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
notation.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
oid2name.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pageinspect.sgml Skip full index scan during cleanup of B-tree indexes when possible 2018-04-04 19:29:00 +03:00
parallel.sgml doc: Update parallel join documentation for Parallel Shared Hash. 2018-03-22 13:26:12 -04:00
passwordcheck.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
perform.sgml Support partition pruning at execution time 2018-04-07 17:54:39 -03:00
pgbuffercache.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgcrypto.sgml pgcrypto's encrypt() supports AES-128, AES-192, and AES-256 2018-01-31 16:33:11 -05:00
pgfreespacemap.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
pgprewarm.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgrowlocks.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstandby.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstatstatements.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstattuple.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgtrgm.sgml Add strict_word_similarity to pg_trgm module 2018-03-21 14:57:42 +03:00
pgvisibility.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
planstats.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
plhandler.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
plperl.sgml Allow committing inside cursor loop 2018-03-28 19:03:26 -04:00
plpgsql.sgml MERGE SQL Command following SQL:2016 2018-04-03 09:28:16 +01:00
plpython.sgml Allow committing inside cursor loop 2018-03-28 19:03:26 -04:00
pltcl.sgml Support INOUT arguments in procedures 2018-03-14 12:07:28 -04:00
postgres-fdw.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
postgres.sgml Add documentation for the JIT feature. 2018-03-28 14:22:42 -07:00
problems.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
protocol.sgml Logical replication support for TRUNCATE 2018-04-07 11:34:11 -04:00
queries.sgml doc: Improve indentation of SQL examples 2018-04-04 20:57:26 -04:00
query.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rangetypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
recovery-config.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
reference.sgml Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
regress.sgml Tests for Kerberos/GSSAPI authentication 2018-03-06 10:57:36 -05:00
release-7.4.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.0.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.1.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.3.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.4.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.0.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.1.sgml doc: Fix links to pg_stat_replication 2018-03-03 14:16:39 -05:00
release-9.2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.3.sgml Last-minute updates for release notes. 2018-02-26 12:14:27 -05:00
release-9.4.sgml Last-minute updates for release notes. 2018-02-26 12:14:27 -05:00
release-9.5.sgml doc: Fix links to pg_stat_replication 2018-03-03 14:16:39 -05:00
release-9.6.sgml Last-minute updates for release notes. 2018-02-26 12:14:27 -05:00
release-10.sgml doc: Fix links to pg_stat_replication 2018-03-03 14:16:39 -05:00
release-old.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
replication-origins.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rowtypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rules.sgml Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
runtime.sgml Allow group access on PGDATA 2018-04-07 17:45:39 -04:00
seg.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
sepgsql.sgml Update gratuitous use of MD5 in documentation 2018-02-22 11:34:54 -05:00
sourcerepo.sgml Change default git repo URL to https 2018-02-07 11:00:26 +01:00
sources.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
spgist.sgml Add prefix operator for TEXT type. 2018-04-03 19:46:45 +03:00
spi.sgml doc: in contrib-spi, mention and link to the meaning of SPI 2018-01-31 16:54:33 -05:00
sslinfo.sgml Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
standalone-install.xml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
standalone-profile.xsl Get rid of parameterized marked sections in SGML 2017-09-27 11:26:08 -04:00
start.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
storage.sgml Add documentation for the JIT feature. 2018-03-28 14:22:42 -07:00
stylesheet-common.xsl doc: Turn on generate.consistent.ids parameter 2017-12-05 09:00:26 -05:00
stylesheet-fo.xsl doc: Improve PDF bookmarks 2017-08-15 14:37:44 -04:00
stylesheet-hh.xsl Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03:00
stylesheet-html-common.xsl doc: Convert ids to upper case at build time 2017-11-03 14:14:02 -04:00
stylesheet-html-nochunk.xsl Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
stylesheet-man.xsl doc: Improve man build speed 2018-02-28 09:26:36 -05: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 Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
tablefunc.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tablesample-method.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tcn.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
test-decoding.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
textsearch.sgml Add websearch_to_tsquery 2018-04-05 19:55:11 +03:00
trigger.sgml MERGE SQL Command following SQL:2016 2018-04-03 09:28:16 +01:00
tsm-system-rows.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tsm-system-time.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
typeconv.sgml Doc: add example of type resolution in nested UNIONs. 2018-03-25 16:15:15 -04:00
unaccent.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
user-manag.sgml Add default roles for file/program access 2018-04-06 14:47:10 -04:00
uuid-ossp.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
vacuumlo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
wal.sgml Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
xaggr.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xfunc.sgml SQL procedures 2017-11-30 11:03:20 -05:00
xindex.sgml Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
xml2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xoper.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xplang.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xtypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05: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