diff options
| author | Hiroshi Inoue | 2016-10-14 12:15:34 +0000 |
|---|---|---|
| committer | Hiroshi Inoue | 2016-10-17 10:01:56 +0000 |
| commit | 0f70eb058428527dde9ed249a86528f39f9c720a (patch) | |
| tree | 88654d732714e16b8395079c33a1ff323a2203cf /options.c | |
| parent | 13859276db9260257ff9436357f3ee8641a2b18a (diff) | |
Fix the bug reported by Shinji Mecha.
In commit e85fbb24249ae81975b1b2e46da32479de0b58d6, handle_error_message() and handle_notice_message() were unified into handle_pgres_error() in the wrong way. Unfortunately handle_error_message() never handled notice messages and set positive errornumbers which mean error_not_a_notice in psqlodbc. I renamed the constant CONNECTION_SERVER_REPORTED_ERROR to CONNECTION_SERVER_REPORTED_SEVERITY_FATAL and the constant CONNECTION_SERVER_REPORTED_WARNING to CONNECTION_SERVER_REPORTED_SEVERITY_ERROR so as to avoid confusion.
Diffstat (limited to 'options.c')
0 files changed, 0 insertions, 0 deletions
