Powershell Create Function In Postgresql