1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-18 05:01:01 +03:00
Files
postgres/doc/src/sgml
Tom Lane 94324abfb9 Docs: be explicit about datatype matching for lead/lag functions.
The default argument, if given, has to be of exactly the same datatype
as the first argument; but this was not stated in so many words, and
the error message you get about it might not lead your thought in the
right direction.  Per bug #13587 from Robert McGehee.

A quick scan says that these are the only two built-in functions with two
anyelement arguments and no other polymorphic arguments.  There are plenty
of cases of, eg, anyarray and anyelement, but those seem less likely to
confuse.  For instance this doesn't seem terribly hard to figure out:
"function array_remove(integer[], numeric) does not exist".  So I've
contented myself with fixing these two cases.
2015-08-25 19:11:17 -04:00
..
2015-08-20 22:47:08 -04:00
2014-05-06 21:28:58 -04:00
2015-06-08 15:37:42 -03:00
2015-08-20 22:47:08 -04:00
2015-08-09 14:49:47 +02:00
2015-05-28 13:02:09 -04:00
2014-02-23 21:31:08 -05:00
2015-06-11 00:09:32 -04:00
2015-04-26 10:33:14 -04:00
2015-08-14 12:11:05 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-04-12 19:07:46 +02:00
2014-07-08 23:29:25 -04:00
2014-05-06 21:28:58 -04:00
2014-11-01 11:31:35 -04:00
2014-08-30 10:52:36 -05:00
2015-04-26 10:33:14 -04:00
2015-06-11 00:09:32 -04:00
2015-08-08 20:40:53 -04: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
2015-06-03 20:19:47 -04: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

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