1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-24 09:27:52 +03:00
Files
postgres/doc/src/sgml
Tom Lane dc70816fde Doc: clarify description of regexp fields in pg_ident.conf.
The grammar was a little shaky and confusing here, so word-smith it
a bit.  Also, adjust the comments in pg_ident.conf.sample to use the
same terminology as the SGML docs, in particular "DATABASE-USERNAME"
not "PG-USERNAME".

Back-patch appropriate subsets.  I did not risk changing
pg_ident.conf.sample in released branches, but it still seems OK
to change it in v18.

Reported-by: Alexey Shishkin <alexey.shishkin@enterprisedb.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/175206279327.3157504.12519088928605422253@wrigleys.postgresql.org
Backpatch-through: 13
2025-07-15 18:53:00 -04:00
..
2020-04-11 21:07:20 -07:00
2021-11-24 18:34:25 +02:00
2020-07-05 15:38:14 +02:00
2020-02-26 13:05:30 -08:00
2020-03-29 11:15:11 +02:00
2025-02-12 13:35:03 +07:00
2020-11-25 09:51:00 +01:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2020-07-18 22:43:41 +09:00
2020-08-25 07:30:22 +02:00
2020-06-07 13:18:36 +02:00
2020-09-09 12:22:38 +02:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2021-07-05 09:52:05 +05:30
2025-04-07 00:03:18 +02:00
2020-07-18 22:43:41 +09:00
2025-02-05 13:58:40 +01:00
2021-09-19 11:36:53 -04:00
2021-01-05 14:26:37 -05:00
2022-07-08 18:36:27 -04:00
2020-10-19 19:29:52 +03:00
2021-12-08 16:54:31 -05:00

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


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.