The following bug has been logged on the website:
Bug reference: 14120
Logged by: Kanayo Ojobor
Email address: kayzizz(at)gmail(dot)com
PostgreSQL version: 9.4.7
Operating system: Fedora 22
Description:
Return value for 2nd and 3rd Create Functions should be of type numeric.
Not integer because the balance column suggests a numeric type
This is consistent with monetary data types
If you look at 35.4.3
The salary type reflects numeric.