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

Clear the error message in the right spot #173

Closed laurenz closed 6 years ago

laurenz commented 6 years ago

I don't think that it really can happen that "dbproc" is NULL without an error message (and hence the ereport around line 586 is probably dead code), but let's be safe.

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 the PR!