]> granicus.if.org Git - postgresql/commit
Add ceiling() as an alias for ceil(), and power() as an alias for pow().
authorNeil Conway <neilc@samurai.com>
Fri, 23 Apr 2004 20:32:20 +0000 (20:32 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 23 Apr 2004 20:32:20 +0000 (20:32 +0000)
commitfc7fd50182f5fcec0d9c900ca8e6a48649ceb196
treef3d8b8a55aaef91582fd8d1a8ccada55fcbb9957
parent7a66015e98e890c27e3483a413d5a88927c5b818
Add ceiling() as an alias for ceil(), and power() as an alias for pow().
Regression tests and documentation have both been updated.

SQL2003 requires that both ceiling() and ceil() be present, so I have
documented both spellings. SQL2003 doesn't mention pow() as far as I
can see, so I decided to replace pow() with power() in the documentation:
there is little reason to encourage the continued usage of a function
that isn't compliant with the standard, given a standard-compliant
alternative.

RELEASE NOTES: should state that pow() is considered deprecated
(although I don't see the need to ever remove it.)
doc/src/sgml/func.sgml
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/test/regress/expected/float8-exp-three-digits-win32.out
src/test/regress/expected/float8-exp-three-digits.out
src/test/regress/expected/float8-small-is-zero.out
src/test/regress/expected/float8.out
src/test/regress/expected/numeric.out
src/test/regress/sql/float8.sql
src/test/regress/sql/numeric.sql