aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-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>