Implement the width_bucket() function, per SQL2003. This commit only adds

Neil Conway <neilc@samurai.com>

Commit: 0079547bcbedff2a653204571c3cda22c35907d4
Author: Neil Conway <neilc@samurai.com>
Date: 2004-05-14T21:42:30Z
Releases: 8.0.0
Implement the width_bucket() function, per SQL2003. This commit only adds
a variant of the function for the 'numeric' datatype; it would be possible
to add additional variants for other datatypes, but I haven't done so yet.

This commit includes regression tests and minimal documentation; if we
want developers to actually use this function in applications, we'll
probably need to document what it does more fully.

Files