Using Postgresql With Powershell Substring