aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-07-02 20:36:49 +0000
committerRobert Haas <rhaas@postgresql.org>2010-07-02 20:36:49 +0000
commitce5174767370d25535f800c3b0a9bdb37b66a95c (patch)
treee012d16d1ccffbe038a6a05d95887bd735f45284 /doc/src
parentbb0fe9feb9fd75a6aaa960028a9f810c883b0fc4 (diff)
downloadpostgresql-ce5174767370d25535f800c3b0a9bdb37b66a95c.tar.gz
postgresql-ce5174767370d25535f800c3b0a9bdb37b66a95c.zip
Remove hstore % text[] operator; use slice() function instead.
David Wheeler, with one small correction by me.
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 ef09a4ca869..c5effb88e05 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.11 2010/06/22 11:36:16 rhaas Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/hstore.sgml,v 1.12 2010/07/02 20:36:49 rhaas Exp $ -->
<sect1 id="hstore">
<title>hstore</title>
@@ -121,13 +121,6 @@
</row>
<row>
- <entry><type>hstore</> <literal>%</> <type>text[]</></entry>
- <entry>extract a subset of an <type>hstore</></entry>
- <entry><literal>'a=&gt;1,b=&gt;2,c=&gt;3'::hstore % ARRAY['b','c','x']</literal></entry>
- <entry><literal>"b"=&gt;"2", "c"=&gt;"3"</literal></entry>
- </row>
-
- <row>
<entry><type>hstore</> <literal>||</> <type>hstore</></entry>
<entry>concatenate <type>hstore</>s</entry>
<entry><literal>'a=&gt;b, c=&gt;d'::hstore || 'c=&gt;x, d=&gt;q'::hstore</literal></entry>
@@ -339,6 +332,14 @@ b
</row>
<row>
+ <entry><function>slice(hstore, text[])</function></entry>
+ <entry><type>hstore</type></entry>
+ <entry>extract a subset of an <type>hstore</></entry>
+ <entry><literal>slice('a=&gt;1,b=&gt;2,c=&gt;3'::hstore, ARRAY['b','c','x'])</literal></entry>
+ <entry><literal>"b"=&gt;"2", "c"=&gt;"3"</literal></entry>
+ </row>
+
+ <row>
<entry><function>each(hstore)</function></entry>
<entry><type>setof(key text, value text)</type></entry>
<entry>get <type>hstore</>'s keys and values as a set</entry>