wolfgangbrandl / db2_fdw

PostgreSQL DB2 Data Wrapper
Other
20 stars 13 forks source link

Fix DB/2 message retrieving in the event of authentication error #40

Closed upaternostro closed 1 year ago

upaternostro commented 1 year ago

Hi Wolfgang,

please adopt this small patch that fixes error generation when an authentication error occurs.

It may be possible that the same patch has to be applied to other points in the code.

P.S.: please note that the db2Error_d function does not returns, as it invokes ereport with an ERROR level, so just the first one is logged.