[1] mylog.c[logs_on_off]274: mylog_on=1 qlog_on=1 [1]connection[PGAPI_Connect]162: conn = 600000000002e9f0 (DSN='xxodbc', UID='username', PWD='xxxxx') [1]connection[CC_connect]1062: entering...sslmode=disable [1]connection[LIBPQ_CC_connect]1034: entering... [1]connection[CC_initial_log]982: Driver Version='09.06.0500,Jul 19 2019' [1]connection[CC_initial_log]1017: DSN = 'xxodbc', server = '10.242.165.1', port = '5432', database = 'xxx', username = 'username', password='xxxxx' [1]connection[LIBPQ_connect]2670: connecting to the database using 10.242.165.1 as the server and pqopt={} [1]connection[CC_set_error_statements]1215: entering self=600000000002e9f0 [1]connection[CC_log_error]2527: CONN ERROR: func=LIBPQ_connect, desc='', errnum=101, errmsg='could not get socket error status: Invalid argument ' [1]connection[LIBPQ_connect]2817: Could not establish connection to the database; LIBPQ returned -> could not get socket error status: Invalid argument [1]connection[LIBPQ_connect]2859: leaving 0 [1]connection[CC_log_error]2527: CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=101, errmsg='could not get socket error status: Invalid argument ' [1]connection[PGAPI_Connect]173: leaving..-1. [1]odbcapi30.[SQLGetDiagRec]340: Entering [1] pgapi30.c[PGAPI_GetDiagRec]42: entering type=2 rec=1 [1] environ.c[PGAPI_ConnectError]284: entering hdbc=600000000002e9f0 <513> [1]connection[CC_get_error]1374: entering [1]connection[CC_get_error]1387: leaving [1] environ.c[PGAPI_ConnectError]301: CC_get_error: status = 101, msg = #could not get socket error status: Invalid argument # [1] environ.c[PGAPI_ConnectError]388: szSqlState = '08001',len=52, szError='could not get socket error status: Invalid argument ' [1] pgapi30.c[PGAPI_GetDiagRec]69: leaving 0 [1]odbcapi30.[SQLGetDiagRec]340: Entering [1] pgapi30.c[PGAPI_GetDiagRec]42: entering type=2 rec=2 [1] environ.c[PGAPI_ConnectError]284: entering hdbc=600000000002e9f0 <513> [1] pgapi30.c[PGAPI_GetDiagRec]69: leaving 100 [1]odbcapi30.[SQLFreeHandle]250: Entering [1]connection[PGAPI_FreeConnect]239: entering...hdbc=600000000002e9f0 [1]connection[CC_Destructor]360: entering self=600000000002e9f0 [1]connection[CC_cleanup]653: entering self=600000000002e9f0 [1]connection[CC_cleanup]666: after PQfinish [1]dlg_specif[CC_conninfo_init]1686: entering opt=1 [1]connection[CC_cleanup]744: leaving [1]connection[CC_Destructor]367: after CC_Cleanup [1]connection[CC_Destructor]380: after free statement holders [1]connection[CC_Destructor]391: leaving [1]connection[PGAPI_FreeConnect]257: leaving... [1]odbcapi30.[SQLFreeHandle]250: Entering [1] environ.c[PGAPI_FreeEnv]100: entering env=600000000000cdf0 [1] environ.c[EN_Destructor]519: entering self=600000000000cdf0 [1] environ.c[EN_Destructor]545: clearing conns count=128 [1] environ.c[EN_Destructor]557: leaving rv=1 [1] environ.c[PGAPI_FreeEnv]104: ok cat mylog "