diff options
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> |