Postgresql Insert Into Array Variable In Powershell If Statement