tds-fdw / tds_fdw

A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)
Other
377 stars 101 forks source link

Allow a comma separated list for "servername" #172

Closed laurenz closed 6 years ago

laurenz commented 6 years ago

This is useful for automatic fail-over to a secondary server.

For this we have to introduce a new error handler that captures connection errors, but does not throw an error. The last captured error is thrown if all servers fail.

jenkins-juliogonzalez commented 6 years ago

Can one of the admins verify this patch?

GeoffMontee commented 6 years ago

Test this, please

jenkins-juliogonzalez commented 6 years ago

Test PASSed.

GeoffMontee commented 6 years ago

Thanks for another great PR!