Postgres Set Variable In Powershell Substring