summaryrefslogtreecommitdiff
path: root/doc/src/sgml/hstore.sgml
diff options
context:
space:
mode:
authorRobert Haas2010-06-15 19:48:30 +0000
committerRobert Haas2010-06-15 19:48:30 +0000
commitb17129b5891a385ff2cd5dc4a1fa631366951d29 (patch)
tree5dd125846f55e198de0f4056b727b17bd770320d /doc/src/sgml/hstore.sgml
parent3b3706d2cfb6d7a29ee5adb2fb6f2bf363256508 (diff)
Remove hstore's text[] => text[] operator.
This is not yet in any released version, so we still have the option to backtrack. Instead, document hstore(text[], text[]). Per discussion.
Diffstat (limited to 'doc/src/sgml/hstore.sgml')
-rw-r--r--doc/src/sgml/hstore.sgml17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/src/sgml/hstore.sgml b/doc/src/sgml/hstore.sgml
index f9110616f7a..9dac2b3ec49 100644
--- a/doc/src/sgml/hstore.sgml
+++ b/doc/src/sgml/hstore.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/hstore.sgml,v 1.8 2010/02/27 04:29:44 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/hstore.sgml,v 1.9 2010/06/15 19:48:30 rhaas Exp $ -->
<sect1 id="hstore">
<title>hstore</title>
@@ -121,13 +121,6 @@
</row>
<row>
- <entry><type>text[]</> <literal>=&gt;</> <type>text[]</></entry>
- <entry>construct an <type>hstore</> from separate key and value arrays</entry>
- <entry><literal>ARRAY['a','b'] =&gt; ARRAY['1','2']</literal></entry>
- <entry><literal>"a"=&gt;"1","b"=&gt;"2"</literal></entry>
- </row>
-
- <row>
<entry><type>hstore</> <literal>=&gt;</> <type>text[]</></entry>
<entry>extract a subset of an <type>hstore</></entry>
<entry><literal>'a=&gt;1,b=&gt;2,c=&gt;3'::hstore =&gt; ARRAY['b','c','x']</literal></entry>
@@ -265,6 +258,14 @@
</row>
<row>
+ <entry><function>hstore(text[], text[])</function></entry>
+ <entry><type>hstore</type></entry>
+ <entry>construct an <type>hstore</> from separate key and value arrays</entry>
+ <entry><literal>hstore(ARRAY['a','b'], ARRAY['1','2'])</literal></entry>
+ <entry><literal>"a"=&gt;"1","b"=&gt;"2"</literal></entry>
+ </row>
+
+ <row>
<entry><function>akeys(hstore)</function></entry>
<entry><type>text[]</type></entry>
<entry>get <type>hstore</>'s keys as an array</entry>