diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-07-02 20:36:49 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-07-02 20:36:49 +0000 |
commit | ce5174767370d25535f800c3b0a9bdb37b66a95c (patch) | |
tree | e012d16d1ccffbe038a6a05d95887bd735f45284 /doc/src | |
parent | bb0fe9feb9fd75a6aaa960028a9f810c883b0fc4 (diff) | |
download | postgresql-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.sgml | 17 |
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=>1,b=>2,c=>3'::hstore % ARRAY['b','c','x']</literal></entry> - <entry><literal>"b"=>"2", "c"=>"3"</literal></entry> - </row> - - <row> <entry><type>hstore</> <literal>||</> <type>hstore</></entry> <entry>concatenate <type>hstore</>s</entry> <entry><literal>'a=>b, c=>d'::hstore || 'c=>x, d=>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=>1,b=>2,c=>3'::hstore, ARRAY['b','c','x'])</literal></entry> + <entry><literal>"b"=>"2", "c"=>"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> |