tds-fdw / tds_fdw

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

Improve PostgreSQL version detection #157

Closed juliogonzalez closed 6 years ago

juliogonzalez commented 6 years ago

Cleanup versions retrieved from PostgreSQL/MSSQL servers to avoid problems.

For example Ubuntu decided to add their own versioning starting with PostgreSQL 10.2: 10.2 (Ubuntu 10.2-1.pgdg14.04+1 instead of 10.2

This fixes the problems we were having with Ubuntu and PostgreSQL 10 for the last days.

Tested: https://jenkins.juliogonzalez.es/job/tds_fdw-build-free/52/

jenkins-juliogonzalez commented 6 years ago

Test PASSed.

GeoffMontee commented 6 years ago

Thanks for fixing that!