BUG #17981: HY000 server closed the connection unexpectedly

Поиск
Список
Период
Сортировка
От Sayan Oruspay
Тема BUG #17981: HY000 server closed the connection unexpectedly
Дата
Msg-id CANdk+b+eSm05tBKLFLXFa4j+CxC6+_XtyZfu5t2tqjpeDXB4Lw@mail.gmail.com
обсуждение исходный текст
Список pgsql-odbc
I am writing an application on Windows that connects to the local database through psqlodbc. I want to make it automatically detect connection loss and reconnect. When I manually stop the database service and try to send a query, I get an error with sqlstate HY000 and the message ' server closed the connection unexpectedly'. Shouldn't sqlstate be something like 08S01? Also  SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD does not produce the right value. The value it returns is always SQL_CD_FALSE.

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Huang, Yang"
Дата:
Сообщение: Bug report - ODBC Driver - Postgresql ODBC driver crash found in customer environment
Следующее
От: Tom Hughes
Дата:
Сообщение: [PATCH] Allow catalog (database) enumeration with SQLTables