postgresql/doc/src/sgml
Tom Lane c3b33698cf Doc: improve protocol spec for logical replication Type messages.
protocol.sgml documented the layout for Type messages, but completely
dropped the ball otherwise, failing to explain what they are, when
they are sent, or what they're good for.  While at it, do a little
copy-editing on the description of Relation messages.

In passing, adjust the comment for apply_handle_type() to make it
clearer that we choose not to do anything when receiving a Type
message, not that we think it has no use whatsoever.

Per question from Stefen Hillman.

Discussion: https://postgr.es/m/CAPgW8pMknK5pup6=T4a_UG=Cz80Rgp=KONqJmTdHfaZb0RvnFg@mail.gmail.com
2021-11-10 13:13:04 -05:00
..
images
keywords
ref Add pg_checkpointer predefined role for CHECKPOINT command. 2021-11-09 16:59:14 -08:00
.gitignore
acronyms.sgml doc: Add acronyms for MITM and SNI 2021-06-25 11:29:03 +09:00
adminpack.sgml
advanced.sgml doc: adjust "cities" example to be consistent with other SQL 2021-07-02 20:42:46 -04:00
amcheck.sgml Support amcheck of sequences 2021-09-28 15:26:25 +02:00
appendix-obsolete-default-roles.sgml doc: Fix quoting markup 2021-07-05 08:26:00 +02:00
appendix-obsolete-pgreceivexlog.sgml
appendix-obsolete-pgresetxlog.sgml
appendix-obsolete-pgxlogdump.sgml
appendix-obsolete-recovery-config.sgml
appendix-obsolete.sgml
arch-dev.sgml
array.sgml
auth-delay.sgml
auto-explain.sgml
backup-manifest.sgml
backup.sgml doc: add example of using pg_dump with GNU split and gzip 2021-08-03 10:57:32 -04:00
bgworker.sgml Send NOTIFY signals during CommitTransaction. 2021-09-14 17:18:25 -04:00
biblio.sgml
bki.sgml doc: Spell checking 2021-07-16 12:39:45 +02:00
bloom.sgml
brin.sgml docs: fix inconsistencies in markup and case 2021-07-15 23:22:58 +02:00
btree-gin.sgml
btree-gist.sgml
btree.sgml doc: Fix some typos and markups 2021-09-29 11:56:13 +09:00
catalogs.sgml Grant memory views to pg_read_all_stats. 2021-10-27 14:06:30 -07:00
charset.sgml doc: remove URL for ICU explorer/locexp 2021-10-04 17:10:59 -04:00
citext.sgml
client-auth.sgml
color.sgml
config.sgml Document default and changeability of log_startup_progress_interval 2021-11-05 11:31:57 -03:00
contrib-spi.sgml
contrib.sgml
cube.sgml
custom-scan.sgml Allow CustomScan providers to say whether they support projections. 2021-07-06 18:10:20 -04:00
datatype.sgml Fix typos in docs 2021-09-26 19:17:30 +09:00
datetime.sgml
dblink.sgml
ddl.sgml Revoke PUBLIC CREATE from public schema, now owned by pg_database_owner. 2021-09-09 23:38:09 -07:00
dfunc.sgml
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml
dml.sgml
docguide.sgml
earthdistance.sgml Doc: add a glossary entry for "domain". 2021-07-30 14:50:21 -04:00
ecpg.sgml Fix range check in ECPG numeric to int conversion 2021-07-30 15:39:22 -04:00
errcodes.sgml
event-trigger.sgml
extend.sgml
external-projects.sgml
fdwhandler.sgml Doc: Tweak function prototype indentation for consistency. 2021-08-25 13:00:00 +09:00
features.sgml
file-fdw.sgml
filelist.sgml Doc: Hash Indexes. 2021-07-05 09:36:11 +05:30
func.sgml Disallow making an empty lexeme via array_to_tsvector(). 2021-11-06 13:28:53 -04:00
fuzzystrmatch.sgml
generate-errcodes-table.pl
generate-keywords-table.pl
generic-wal.sgml
geqo.sgml
gin.sgml
gist.sgml Doc: fix minor issues in GiST support function documentation. 2021-10-04 13:34:31 -04:00
glossary.sgml Doc: add glossary term for "auxiliary process" 2021-09-20 12:22:02 -03:00
hash.sgml Doc: Hash Indexes. 2021-07-05 09:36:11 +05:30
high-availability.sgml Consistently use read-only instead of "read only" 2021-09-07 22:04:39 +02:00
history.sgml
hstore.sgml
indexam.sgml doc: Spell checking 2021-07-16 12:39:45 +02:00
indices.sgml
info.sgml
information_schema.sgml Doc: add a glossary entry for "domain". 2021-07-30 14:50:21 -04:00
install-binaries.sgml
install-windows.sgml Add support for LZ4 with compression of full-page writes in WAL 2021-06-29 11:17:55 +09:00
installation.sgml Doc: update our claims about the minimum recommended AIX version. 2021-10-07 15:36:57 -04:00
intagg.sgml
intarray.sgml
intro.sgml
isn.sgml
jit.sgml
json.sgml doc: Spell checking 2021-07-16 12:39:45 +02:00
keywords.sgml
legal.sgml
libpq.sgml Pipeline mode disallows multicommand strings 2021-11-05 11:40:03 -03:00
limits.sgml
lo.sgml Doc: add a glossary entry for "domain". 2021-07-30 14:50:21 -04:00
lobj.sgml Doc: fix typos. 2021-09-19 11:36:53 -04:00
logical-replication.sgml Allow publishing the tables of schema. 2021-10-27 07:44:52 +05:30
logicaldecoding.sgml Doc: Fix typo in logical decoding example 2021-08-18 19:44:57 +02:00
ltree.sgml
maintenance.sgml Revert analyze support for partitioned tables 2021-08-16 17:27:52 -04:00
Makefile Change Texinfo output to UTF-8 2021-08-27 18:20:40 +02:00
manage-ag.sgml Doc: clean up some places that mentioned template1 but not template0. 2021-11-02 12:54:35 -04:00
mk_feature_tables.pl
monitoring.sgml Remove unused wait events. 2021-10-21 08:01:25 +05:30
mvcc.sgml Consistently use read-only instead of "read only" 2021-09-07 22:04:39 +02:00
nls.sgml
notation.sgml
oid2name.sgml
oldsnapshot.sgml
pageinspect.sgml
parallel.sgml doc: Replace some uses of "which" by "that" in parallel.sgml 2021-09-02 11:35:38 +09:00
passwordcheck.sgml
perform.sgml Revert analyze support for partitioned tables 2021-08-16 17:27:52 -04:00
pgbuffercache.sgml
pgcrypto.sgml pgcrypto: Remove non-OpenSSL support 2021-11-05 14:06:59 +01:00
pgfreespacemap.sgml
pgprewarm.sgml
pgrowlocks.sgml
pgstatstatements.sgml doc: Add index entries for pg_stat_statements configuration parameters. 2021-11-09 12:39:47 +09:00
pgstattuple.sgml
pgsurgery.sgml
pgtrgm.sgml
pgvisibility.sgml
planstats.sgml
plhandler.sgml
plperl.sgml
plpgsql.sgml Test and document the behavior of initialization cross-refs in plpgsql. 2021-10-29 12:45:33 -04:00
plpython.sgml
pltcl.sgml
postgres-fdw.sgml Doc: extend warnings about collation-mismatch hazards in postgres_fdw. 2021-09-25 10:53:54 -04:00
postgres.sgml Doc: Hash Indexes. 2021-07-05 09:36:11 +05:30
problems.sgml
protocol.sgml Doc: improve protocol spec for logical replication Type messages. 2021-11-10 13:13:04 -05:00
queries.sgml Doc: improve description of UNION/INTERSECT/EXCEPT syntax. 2021-10-05 10:24:14 -04:00
query.sgml
rangetypes.sgml Revert 29854ee8d1 due to buildfarm failures 2021-06-15 21:44:40 +03:00
README.links
reference.sgml
regress.sgml doc: Fix command example to run regression tests with PGOPTIONS 2021-07-26 16:26:47 +09:00
release-15.sgml Stamp HEAD as 15devel. 2021-06-28 11:31:16 -04:00
release.sgml Stamp HEAD as 15devel. 2021-06-28 11:31:16 -04:00
replication-origins.sgml
rowtypes.sgml Doc: add a glossary entry for "domain". 2021-07-30 14:50:21 -04:00
rules.sgml Fix wording 2021-08-06 20:55:59 +02:00
runtime.sgml Doc: clean up some places that mentioned template1 but not template0. 2021-11-02 12:54:35 -04:00
seg.sgml
sepgsql.sgml doc: Fix link to SELinux user guide in sepgsql page 2021-10-28 09:25:55 +09:00
sourcerepo.sgml
sources.sgml Doc: minor improvements for "Formatting" section. 2021-09-20 10:48:02 -04:00
spgist.sgml doc: Fix some typos and markups 2021-09-29 11:56:13 +09:00
spi.sgml Fix checking of query type in plpgsql's RETURN QUERY command. 2021-10-03 13:21:20 -04:00
sslinfo.sgml
standalone-install.xml
standalone-profile.xsl Remove unused chunk from standalone-profile.xsl 2021-10-30 12:38:14 +02:00
start.sgml
storage.sgml
stylesheet-common.xsl
stylesheet-fo.xsl
stylesheet-hh.xsl
stylesheet-html-common.xsl
stylesheet-html-nochunk.xsl
stylesheet-man.xsl
stylesheet-speedup-common.xsl
stylesheet-speedup-xhtml.xsl
stylesheet-text.xsl
stylesheet.css
stylesheet.xsl
syntax.sgml
tableam.sgml
tablefunc.sgml
tablesample-method.sgml
tcn.sgml
test-decoding.sgml doc: Fix some typos and markups 2021-09-29 11:56:13 +09:00
textsearch.sgml
trigger.sgml Doc: clarify how triggers relate to transactions. 2021-09-01 17:24:59 -04:00
tsm-system-rows.sgml
tsm-system-time.sgml
typeconv.sgml
unaccent.sgml
user-manag.sgml Add pg_checkpointer predefined role for CHECKPOINT command. 2021-11-09 16:59:14 -08:00
uuid-ossp.sgml
vacuumlo.sgml
wal.sgml doc: Spell checking 2021-07-16 12:39:45 +02:00
xaggr.sgml
xfunc.sgml
xindex.sgml Doc: fix minor issues in GiST support function documentation. 2021-10-04 13:34:31 -04:00
xml2.sgml
xoper.sgml
xplang.sgml
xtypes.sgml

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

Linking within DocBook 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

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

<link>
	use to supply text for the link, only uses linkend, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html
	can be embedded inside of <command>, unlike <xref>


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

- For an internal link, if you want to supply text, use <link>, else
  <xref>.

- Specific nouns like GUC variables, SQL commands, and contrib modules
  usually have xreflabels.

- For an external link, use <ulink>, with or without link text.

- xreflabels added to tags prevent the chapter/section for id's from being
  referenced;  only the xreflabel is accessible.  Therefore, use xreflabels
  only when linking is common, and chapter/section information is unneeded.