Index: doc/src/sgml/typeconv.sgml =================================================================== RCS file: /cvsroot/pgsql-server/doc/src/sgml/typeconv.sgml,v retrieving revision 1.39 diff -c -c -r1.39 typeconv.sgml *** doc/src/sgml/typeconv.sgml 29 Nov 2003 19:51:38 -0000 1.39 --- doc/src/sgml/typeconv.sgml 1 Dec 2003 21:42:04 -0000 *************** *** 437,466 **** ERROR: "-4.5e500" is out of range for type double precision - - - On the other hand, the postfix operator ! (factorial) - is defined only for integer data types, not for float8. So, if we - try a similar case with !, we get: - - SELECT '20' ! AS "factorial"; - - ERROR: operator is not unique: "unknown" ! - HINT: Could not choose a best candidate operator. You may need to add explicit - type casts. - - This happens because the system can't decide which of the several - possible ! operators should be preferred. We can help - it out with an explicit cast: - - SELECT CAST('20' AS int8) ! AS "factorial"; - - factorial - --------------------- - 2432902008176640000 - (1 row) - - --- 437,442 ----