In manual page http://postgresql.readysetnet.com/users-lounge/docs/7.1/postgres/typeconv-oper.html it says that: <QUOTE> 5.2.1.3. Factorial This example illustrates an interesting result. Traditionally, the factorial operator is defined for integers only. The Postgresoperator catalog has only one entry for factorial, taking an integer operand. If given a non-integer numeric argument,Postgres will try to convert that argument to an integer for evaluation of the factorial. tgl=> select (4.3 !); ?column? ---------- 24 (1 row) </QUOTE> and on my 7.1.1 I get: test=# select (4.3 !); ERROR: Unable to identify a right operator '!' for type 'float8' You may need to add parentheses or an explicit cast doc|source bug? regards, t.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера