Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Calculate the equi-width histogram bucket.
equiwidth_bucket(value, min, max, buckets)
value
[min, max]
min
max
buckets
select r, equiwidth_bucket(r, 0, 10, 20) as x from table(generate_series(0, 10)) as s(r);
0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10