Generalize width_bucket() documentation because b1/b2 can be
interchanged.
This commit is contained in:
parent
f5caa1e9ec
commit
04b84f5a93
@ -1,4 +1,4 @@
|
||||
<!-- $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">
|
||||
<title>Functions and Operators</title>
|
||||
@ -837,8 +837,7 @@
|
||||
<entry><type>int</type></entry>
|
||||
<entry>return the bucket to which <parameter>operand</> would
|
||||
be assigned in an equidepth histogram with <parameter>count</>
|
||||
buckets, an upper bound of <parameter>b1</>, and a lower bound
|
||||
of <parameter>b2</></entry>
|
||||
buckets, in the range <parameter>b1</> to <parameter>b2</></entry>
|
||||
<entry><literal>width_bucket(5.35, 0.024, 10.06, 5)</literal></entry>
|
||||
<entry><literal>3</literal></entry>
|
||||
</row>
|
||||
|
Loading…
Reference in New Issue
Block a user