Commit 04b84f5a authored by Bruce Momjian's avatar Bruce Momjian

Generalize width_bucket() documentation because b1/b2 can be

interchanged.
parent f5caa1e9
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.331 2006/08/21 00:57:23 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.332 2006/08/22 00:49:19 momjian Exp $ -->
<chapter id="functions"> <chapter id="functions">
<title>Functions and Operators</title> <title>Functions and Operators</title>
...@@ -837,8 +837,7 @@ ...@@ -837,8 +837,7 @@
<entry><type>int</type></entry> <entry><type>int</type></entry>
<entry>return the bucket to which <parameter>operand</> would <entry>return the bucket to which <parameter>operand</> would
be assigned in an equidepth histogram with <parameter>count</> be assigned in an equidepth histogram with <parameter>count</>
buckets, an upper bound of <parameter>b1</>, and a lower bound buckets, in the range <parameter>b1</> to <parameter>b2</></entry>
of <parameter>b2</></entry>
<entry><literal>width_bucket(5.35, 0.024, 10.06, 5)</literal></entry> <entry><literal>width_bucket(5.35, 0.024, 10.06, 5)</literal></entry>
<entry><literal>3</literal></entry> <entry><literal>3</literal></entry>
</row> </row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment