Using Postgresql With Powershell Foreach Break In Php