Powershell Create Function Postgresql