1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00
Files
postgres/doc/src/sgml
Tom Lane 5b51683589 Improve documentation about CASE and constant subexpressions.
The possibility that constant subexpressions of a CASE might be evaluated
at planning time was touched on in 9.17.1 (CASE expressions), but it really
ought to be explained in 4.2.14 (Expression Evaluation Rules) which is the
primary discussion of such topics.  Add text and an example there, and
revise the <note> under CASE to link there.

Back-patch to all supported branches, since it's acted like this for a
long time (though 9.2+ is probably worse because of its more aggressive
use of constant-folding via replanning of nominally-prepared statements).
Pre-9.4, also back-patch text added in commit 0ce627d4 about CASE versus
aggregate functions.

Tom Lane and David Johnston, per discussion of bug #12273.
2014-12-18 16:39:20 -05:00
..
2014-05-06 21:28:58 -04:00
2014-10-14 09:45:33 +03:00
2013-07-02 20:32:09 -04:00
2014-12-14 14:58:03 -05:00
2014-02-23 21:31:08 -05:00
2014-07-16 22:48:11 -04:00
2014-11-07 16:38:14 -03:00
2014-07-16 22:48:11 -04:00
2014-07-16 22:48:11 -04:00
2014-11-07 16:38:14 -03:00
2014-01-07 16:05:30 -05:00
2014-10-31 08:11:06 -04:00
2014-07-08 23:29:25 -04:00
2014-07-16 22:48:11 -04:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-12-14 14:58:03 -05:00
2014-11-01 11:31:35 -04:00
2014-08-30 10:52:36 -05:00
2014-11-07 16:38:14 -03:00
2014-12-17 09:59:21 +01:00
2014-12-14 14:58:03 -05:00
2014-05-06 21:28:58 -04:00
2014-07-16 22:48:11 -04:00
2014-05-06 21:28:58 -04:00
2014-03-23 02:16:34 -04:00
2014-12-01 12:12:07 +01:00
2014-07-16 22:48:11 -04:00
2014-08-30 10:52:36 -05:00
2014-08-30 10:52:36 -05:00
2014-01-06 21:30:26 -05: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