pgsql-server/ oc/src/sgml/errcodes.sgml oc/src ...
pgsql-server/ oc/src/sgml/errcodes.sgml oc/src ...
От:
neilc@svr1.postgresql.org (Neil Conway)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: neilc@svr1.postgresql.org 04/05/14 18:42:30 Modified files: doc/src/sgml : errcodes.sgml func.sgml xfunc.sgml src/backend/utils/adt: numeric.c src/include/catalog: catversion.h pg_proc.h src/include/utils: builtins.h errcodes.h src/test/regress/expected: numeric.out src/test/regress/sql: numeric.sql Log message: 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.