summaryrefslogtreecommitdiff
path: root/doc/src/sgml/hstore.sgml
diff options
context:
space:
mode:
authorBruce Momjian2013-07-04 15:33:08 +0000
committerBruce Momjian2013-07-04 15:33:11 +0000
commit20a1b9e71b18ba823858597dfd445174451ff5e7 (patch)
tree7a0357136c16c4cf4000ee8489f4394b955c96a1 /doc/src/sgml/hstore.sgml
parent6bc8ef0b7f1f1df3998745a66e1790e27424aa0c (diff)
Add contrib function references in the doc index
Backpatch to 9.3. Idea from Craig Ringer
Diffstat (limited to 'doc/src/sgml/hstore.sgml')
-rw-r--r--doc/src/sgml/hstore.sgml30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/src/sgml/hstore.sgml b/doc/src/sgml/hstore.sgml
index 73c421d463f..3810776e6d8 100644
--- a/doc/src/sgml/hstore.sgml
+++ b/doc/src/sgml/hstore.sgml
@@ -233,7 +233,7 @@ key => NULL
<tbody>
<row>
- <entry><function>hstore(record)</function></entry>
+ <entry><function>hstore(record)</function><indexterm><primary>hstore</primary></indexterm></entry>
<entry><type>hstore</type></entry>
<entry>construct an <type>hstore</> from a record or row</entry>
<entry><literal>hstore(ROW(1,2))</literal></entry>
@@ -266,7 +266,7 @@ key =&gt; NULL
</row>
<row>
- <entry><function>akeys(hstore)</function></entry>
+ <entry><function>akeys(hstore)</function><indexterm><primary>akeys</primary></indexterm></entry>
<entry><type>text[]</type></entry>
<entry>get <type>hstore</>'s keys as an array</entry>
<entry><literal>akeys('a=&gt;1,b=&gt;2')</literal></entry>
@@ -274,7 +274,7 @@ key =&gt; NULL
</row>
<row>
- <entry><function>skeys(hstore)</function></entry>
+ <entry><function>skeys(hstore)</function><indexterm><primary>skeys</primary></indexterm></entry>
<entry><type>setof text</type></entry>
<entry>get <type>hstore</>'s keys as a set</entry>
<entry><literal>skeys('a=&gt;1,b=&gt;2')</literal></entry>
@@ -286,7 +286,7 @@ b
</row>
<row>
- <entry><function>avals(hstore)</function></entry>
+ <entry><function>avals(hstore)</function><indexterm><primary>avals</primary></indexterm></entry>
<entry><type>text[]</type></entry>
<entry>get <type>hstore</>'s values as an array</entry>
<entry><literal>avals('a=&gt;1,b=&gt;2')</literal></entry>
@@ -294,7 +294,7 @@ b
</row>
<row>
- <entry><function>svals(hstore)</function></entry>
+ <entry><function>svals(hstore)</function><indexterm><primary>svals</primary></indexterm></entry>
<entry><type>setof text</type></entry>
<entry>get <type>hstore</>'s values as a set</entry>
<entry><literal>svals('a=&gt;1,b=&gt;2')</literal></entry>
@@ -306,7 +306,7 @@ b
</row>
<row>
- <entry><function>hstore_to_array(hstore)</function></entry>
+ <entry><function>hstore_to_array(hstore)</function><indexterm><primary>hstore_to_array</primary></indexterm></entry>
<entry><type>text[]</type></entry>
<entry>get <type>hstore</>'s keys and values as an array of alternating
keys and values</entry>
@@ -315,7 +315,7 @@ b
</row>
<row>
- <entry><function>hstore_to_matrix(hstore)</function></entry>
+ <entry><function>hstore_to_matrix(hstore)</function><indexterm><primary>hstore_to_matrix</primary></indexterm></entry>
<entry><type>text[]</type></entry>
<entry>get <type>hstore</>'s keys and values as a two-dimensional array</entry>
<entry><literal>hstore_to_matrix('a=&gt;1,b=&gt;2')</literal></entry>
@@ -323,7 +323,7 @@ b
</row>
<row>
- <entry><function>hstore_to_json(hstore)</function></entry>
+ <entry><function>hstore_to_json(hstore)</function><indexterm><primary>hstore_to_json</primary></indexterm></entry>
<entry><type>json</type></entry>
<entry>get <type>hstore</type> as a <type>json</type> value</entry>
<entry><literal>hstore_to_json('"a key"=&gt;1, b=&gt;t, c=&gt;null, d=&gt;12345, e=&gt;012345, f=&gt;1.234, g=&gt;2.345e+4')</literal></entry>
@@ -331,7 +331,7 @@ b
</row>
<row>
- <entry><function>hstore_to_json_loose(hstore)</function></entry>
+ <entry><function>hstore_to_json_loose(hstore)</function><indexterm><primary>hstore_to_json_loose</primary></indexterm></entry>
<entry><type>json</type></entry>
<entry>get <type>hstore</type> as a <type>json</type> value, but attempting to distinguish numerical and Boolean values so they are unquoted in the JSON</entry>
<entry><literal>hstore_to_json_loose('"a key"=&gt;1, b=&gt;t, c=&gt;null, d=&gt;12345, e=&gt;012345, f=&gt;1.234, g=&gt;2.345e+4')</literal></entry>
@@ -339,7 +339,7 @@ b
</row>
<row>
- <entry><function>slice(hstore, text[])</function></entry>
+ <entry><function>slice(hstore, text[])</function><indexterm><primary>slice</primary></indexterm></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>
@@ -347,7 +347,7 @@ b
</row>
<row>
- <entry><function>each(hstore)</function></entry>
+ <entry><function>each(hstore)</function><indexterm><primary>each</primary></indexterm></entry>
<entry><type>setof(key text, value text)</type></entry>
<entry>get <type>hstore</>'s keys and values as a set</entry>
<entry><literal>select * from each('a=&gt;1,b=&gt;2')</literal></entry>
@@ -361,7 +361,7 @@ b
</row>
<row>
- <entry><function>exist(hstore,text)</function></entry>
+ <entry><function>exist(hstore,text)</function><indexterm><primary>exist</primary></indexterm></entry>
<entry><type>boolean</type></entry>
<entry>does <type>hstore</> contain key?</entry>
<entry><literal>exist('a=&gt;1','a')</literal></entry>
@@ -369,7 +369,7 @@ b
</row>
<row>
- <entry><function>defined(hstore,text)</function></entry>
+ <entry><function>defined(hstore,text)</function><indexterm><primary>defined</primary></indexterm></entry>
<entry><type>boolean</type></entry>
<entry>does <type>hstore</> contain non-<literal>NULL</> value for key?</entry>
<entry><literal>defined('a=&gt;NULL','a')</literal></entry>
@@ -377,7 +377,7 @@ b
</row>
<row>
- <entry><function>delete(hstore,text)</function></entry>
+ <entry><function>delete(hstore,text)</function><indexterm><primary>delete</primary></indexterm></entry>
<entry><type>hstore</type></entry>
<entry>delete pair with matching key</entry>
<entry><literal>delete('a=&gt;1,b=&gt;2','b')</literal></entry>
@@ -401,7 +401,7 @@ b
</row>
<row>
- <entry><function>populate_record(record,hstore)</function></entry>
+ <entry><function>populate_record(record,hstore)</function><indexterm><primary>populate_record</primary></indexterm></entry>
<entry><type>record</type></entry>
<entry>replace fields in <type>record</> with matching values from <type>hstore</></entry>
<entry>see Examples section</entry>