In case the connection magically disappears libecpg only returns an internal
Michael Meskes <meskes@postgresql.org>
In case the connection magically disappears libecpg only returns an internal error sqlstate. This change makes it return a correct value..
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/error.c | modified | +16 −5 |
| src/interfaces/ecpg/test/expected/compat_informix-test_informix.stderr | modified | +4 −4 |
| src/interfaces/ecpg/test/expected/preproc-whenever.stderr | modified | +10 −10 |
| src/interfaces/ecpg/test/expected/sql-fetch.stderr | modified | +2 −2 |