Try 9.3 as default version does not support named parameters in sql functions