Powershell Script Create Function Postgresql