added postgresql scripts and separated dialects for mssql and postgres