Re: DIAG [HY000] server closed the connection unexpectedly - Mailing list pgsql-odbc

From Jon Raiford
Subject Re: DIAG [HY000] server closed the connection unexpectedly
Date
Msg-id OF8B9F15A7.552C0D7E-ON85258053.0061FE63-85258053.00623A2E@LocalDomain
Whole thread Raw
In response to Re: DIAG [HY000] server closed the connection unexpectedly  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
Responses Re: DIAG [HY000] server closed the connection unexpectedly
List pgsql-odbc
Hi Tsunakawa-san,

Here is an excerpt from my ODBC tracing on Windows.  You can see that the error is being reported as 08001 instead of 08S01:


v               a14-135c        ENTER SQLFetch
                HSTMT               0x0026DBC0

v               a14-135c        EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
                HSTMT               0x0026DBC0

v               a14-135c        ENTER SQLFreeHandle
                SQLSMALLINT                  3 <SQL_HANDLE_STMT>
                SQLHANDLE           0x0026DBC0

v               a14-135c        EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
                SQLSMALLINT                  3 <SQL_HANDLE_STMT>
                SQLHANDLE           0x0026DBC0

v               a14-135c        ENTER SQLEndTran
                SQLSMALLINT                  2 <SQL_HANDLE_DBC>
                SQLHANDLE           0x0026CCC8
                SQLSMALLINT                  0

v               a14-135c        EXIT  SQLEndTran  with return code -1 (SQL_ERROR)
                SQLSMALLINT                  2 <SQL_HANDLE_DBC>
                SQLHANDLE           0x0026CCC8
                SQLSMALLINT                  0

                DIAG [08001] server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
 (101)

pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: xmin when linked tables are updated?
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: DIAG [HY000] server closed the connection unexpectedly