Postgresql Function Set Variable In Powershell Version