diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-09 17:39:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-09 17:39:50 +0000 |
commit | 06e2757277e746fde9eeca14a86f87b7a61ff5b7 (patch) | |
tree | 258ff78625baf55b07e35b8ea7fcd993d1482633 /doc/src | |
parent | 78f58f0f70e0b6542a8ecb4e3ceaf4d41cf58cb3 (diff) |
Remove SQL-compatibility function cardinality(). It is not exactly clear
how this ought to behave for multi-dimensional arrays. Per discussion,
not having it at all seems better than having it with what might prove
to be the wrong behavior. We can always add it later when we have consensus
on the correct behavior.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 18 | ||||
-rw-r--r-- | doc/src/sgml/release.sgml | 7 |
2 files changed, 2 insertions, 23 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f42f3e93412..5c3580aec68 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.475 2009/04/07 00:31:25 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.476 2009/04/09 17:39:47 tgl Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -9369,9 +9369,6 @@ SELECT NULLIF(value, '(none)') ... <primary>array_upper</primary> </indexterm> <indexterm> - <primary>cardinality</primary> - </indexterm> - <indexterm> <primary>string_to_array</primary> </indexterm> <indexterm> @@ -9506,19 +9503,6 @@ SELECT NULLIF(value, '(none)') ... <row> <entry> <literal> - <function>cardinality</function>(<type>anyarray</type>) - </literal> - </entry> - <entry><type>int</type></entry> - <entry>returns the length of the first dimension of the array - (special case of <function>array_length</function> for SQL - compatibility)</entry> - <entry><literal>cardinality(array[1,2,3])</literal></entry> - <entry><literal>3</literal></entry> - </row> - <row> - <entry> - <literal> <function>string_to_array</function>(<type>text</type>, <type>text</type>) </literal> </entry> diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index acd2786caad..a13828d52c9 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.624 2009/04/07 21:30:01 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.625 2009/04/09 17:39:47 tgl Exp $ --> <!-- Typical markup: @@ -1624,11 +1624,6 @@ do it for earlier branch release files. of an array for the specified dimensions (Jim Nasby, Robert Haas, Peter Eisentraut) </para> - - <para> - Also add identically-functioning <acronym>SQL</>-standard - function <function>cardinality()</>. - </para> </listitem> <listitem> |