ctigeek / InvokeQueryPowershellModule

A Powershell module of Cmdlets for querying most types of databases.
https://www.powershellgallery.com/packages/InvokeQuery
MIT License
58 stars 10 forks source link

Fix connection bug to PGSQL #8

Closed Kanatovich closed 7 years ago

Kanatovich commented 7 years ago

When try to connect to PGSQL without custom ConnectionString parameter, you get error: "Keyword not supported: data source."

Made changes according to Npgsql documentation: http://www.npgsql.org/doc/connection-string-parameters.html http://www.npgsql.org/api/Npgsql.NpgsqlConnectionStringBuilder.html

ctigeek commented 7 years ago

This looks awesome. I'm really sorry I didn't see the PR sooner.