1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03:00
Files
postgres/doc/src/sgml
Daniel Gustafsson 1cdf3844c9 doc: Add missing semicolon in example
One of the examples on the SELECT page was missing a semicolon from
a listing which has the look and feel of being a psql session. This
adds the missing semicolon and also removes the newline between the
query and results to match the other examples nearby.

Backpatch to all supported branches to avoid backpatching issues on
this page.

Reported-by: tim.needham2@gmail.com
Discussion: https://postgr.es/m/169965004097.225187.12941375915673151540@wrigleys.postgresql.org
Backpatch-through: v12
2023-11-13 14:13:03 +01:00
..
2023-11-13 14:13:03 +01:00
2019-09-08 10:27:16 +02:00
2021-11-24 18:34:20 +02:00
2020-10-26 19:17:05 -04:00
2019-07-05 08:33:51 +02:00
2023-10-25 11:33:24 +02:00
2018-10-11 11:43:56 -07:00
2020-11-25 09:53:24 +01:00
2020-07-18 22:43:45 +09:00
2020-10-19 19:29:54 +03:00
2020-07-18 22:43:45 +09:00
2020-08-25 07:31:12 +02:00
2020-06-07 13:19:25 +02:00
2020-07-18 22:43:45 +09:00
2020-10-19 19:29:54 +03:00
2021-07-05 10:01:28 +05:30
2020-07-18 22:43:45 +09:00
2020-10-19 19:29:54 +03:00
2019-09-08 10:27:16 +02:00
2023-01-02 15:00:36 -05:00
2021-09-19 11:36:53 -04:00
2021-01-05 14:26:37 -05:00
2018-08-28 21:33:32 +09:00
2022-07-08 18:36:27 -04:00
2019-09-08 10:27:16 +02:00
2019-08-20 13:45:53 +09:00
2019-03-29 13:36:24 +01:00
2020-10-19 19:29:54 +03:00
2019-09-08 10:27:16 +02:00
2019-03-27 23:10:23 +01:00
2019-09-08 10:27:16 +02:00
2021-12-08 16:54:31 -05:00
2019-09-08 10:27:16 +02:00
2019-09-08 10:27:16 +02:00
2019-08-20 13:45:53 +09:00
2019-09-08 10:27:16 +02: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

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

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