[3312]globals.extra_systable_prefixes = 'dd_;' [3312][[SQLAllocHandle]][3312]**** in PGAPI_AllocEnv ** [3312]** exit PGAPI_AllocEnv: phenv = 120063888 ** [3312][[SQLSetEnvAttr]] att=200,2 [3312][[SQLAllocHandle]][3312]PGAPI_AllocConnect: entering... [3312]**** PGAPI_AllocConnect: henv = 120063888, conn = 120025968 [3312]EN_add_connection: self = 120063888, conn = 120025968 [3312] added at i =0, conn->henv = 120063888, conns[i]->henv = 120063888 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=77 [3312]PGAPI_GetInfo: p='03.00', len=5, value=0, cbMax=12 [3312][[SQLSetConnectAttr]] 103 [3312]PGAPI_SetConnectAttr 103 [3312]PGAPI_SetConnectOption: entering fOption = 103 vParam = 15 [3312][SQLDriverConnect][3312]PGAPI_DriverConnect: entering... [3312]**** PGAPI_DriverConnect: fDriverCompletion=0, connStrIn='DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [3312]our_connect_string = 'DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [3312]attribute = 'DSN', value = 'PostgreSQL' [3312]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='',passwd='xxxxx',port='',sslmode='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [3312]attribute = 'UID', value = 'intwis2' [3312]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='intwis2',passwd='xxxxx',port='',sslmode='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [3312]attribute = 'PWD', value = 'xxxxx' [3312]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='intwis2',passwd='xxxxx',port='',sslmode='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [3312]globals.extra_systable_prefixes = 'dd_;' [3312]globals.extra_systable_prefixes = 'dd_;' [3312]our_connect_string = 'DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [3312]attribute = 'DSN', value = 'PostgreSQL' [3312]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=1;B3=1;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[3312]attribute = 'UID', value = 'intwis2' [3312]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=1;B3=1;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[3312]attribute = 'PWD', value = 'xxxxx' [3312]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=1;B3=1;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[3312]CC_connect: entering... [3312]CC_connect(): DSN = 'PostgreSQL', server = 'localhost', port = '5432', sslmode = 'prefer', database = 'intwis9', username = 'intwis2', password='xxxxx' [3312]connecting to the server [3312]connecting to the database using localhost as the server [3312]the size is 15 [3312]connection to the database succeeded. [3312]connection to the database succeeded. [3312]CC_lookup_pg_version: entering... [3312]PGAPI_AllocStmt: entering... [3312]SC_Constructor: entering ... [3312]SC_Constructor: created stmt = 120063008 [3312]**** PGAPI_AllocStmt: hdbc = 120025968, stmt = 120063008 [3312]CC_add_statement: self=120025968, stmt=120063008 [3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='select version()' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=16, stmt='select version()' [3312] stmt_with_params = 'select version()' [3312] Sending SELECT statement on stmt=120063008, cursor_name='SQL_CUR07280420' [3312]send_query(): conn=120025968, query='select version()' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 2 [3312]LIBPQ_execute_query: query = select version() [3312]LIBPQ_execute_query: recent_processed_row_count = 1 [3312]LIBPQ_execute_query: rest types ... [3312]CC_mapping: entering ... [3312]CC_mapping: rows = 1, columns = 1 [3312]CC_mapping: column = 0 [3312]CC_mapping: set field info: name = version, typ = 25, typlen = 8190, attypmod = -1 [3312]in TL_Constructor [3312]exit TL_Constructor [3312]CC_mapping: fetch column = version, value = PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special) [3312]send_query: done sending query with status: 2 [3312]QR_fetch_tuples: cursor = '', self->cursor=0 [3312]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [3312]MALLOC: tuple_size = 100, size = 800 [3312] done sending the query: [3312]extend_column_bindings: entering ... self=120063144, bindings_allocated=0, num_columns=1 [3312]exit extend_column_bindings [3312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [3312]PGAPI_Fetch: stmt = 120063008, stmt->result= 120062848 [3312]manual_result = 1, use_declarefetch = 0 [3312]**** SC_fetch: manual_result [3312]extend_getdata_info: entering ... self=120063364, gdata_allocated=0, num_columns=1 [3312]exit extend_gdata_info [3312]fetch: cols=1, lf=0, opts = 120063144, opts->bindings = 120062496, buffer[] = 0 [3312]PGAPI_GetData: enter, stmt=120063008 [3312] value = 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)' [3312]**** PGAPI_GetData: icol = 0, fCType = 1, field_type = 25, value = 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)' [3312]copy_and_convert: field_type = 25, fctype = 1, value = 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)', cbValueMax=128 [3312]DEFAULT: len = 88, ptr = 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)' [3312] SQL_C_CHAR, default: len = 88, cbValueMax = 128, rgbValueBindRow = 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)' [3312]Got the PostgreSQL version string: 'PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)' [3312]Extracted PostgreSQL version number: '8.1' [3312]PGAPI_FreeStmt: entering...hstmt=120063008, fOption=1 [3312]QResult: in DESTRUCTOR [3312]TupleList: in DESTRUCTOR [3312]TupleList: exit DESTRUCTOR [3312]QResult: free memory in, fcount=101 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]SC_Destructor: self=120063008, self->result=0, self->hdbc=120025968 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]PDATA_free_params: ENTER, self=120063440 [3312]ARDFields_free 72804a8 bookmark=72806a0[3312]ARD_unbind_cols freeall=1 allocated=1 bindings=7280220 [3312]reset_a_column_binding: entering ... self=120063144, bindings_allocated=1, icol=1 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]GDATA_unbind_cols freeall=1 allocated=1 gdata=7280200 [3312]SC_Destructor: EXIT [3312]CC_send_settings: entering... [3312]PGAPI_AllocStmt: entering... [3312]SC_Constructor: entering ... [3312]SC_Constructor: created stmt = 120063008 [3312]**** PGAPI_AllocStmt: hdbc = 120025968, stmt = 120063008 [3312]CC_add_statement: self=120025968, stmt=120063008 [3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='set DateStyle to 'ISO'' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO'' [3312] stmt_with_params = 'set DateStyle to 'ISO'' [3312] it's NOT a select statement: stmt=120063008 [3312]send_query(): conn=120025968, query='set DateStyle to 'ISO'' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 1 [3312]LIBPQ_execute_query: query = set DateStyle to 'ISO' [3312]LIBPQ_execute_query: recent_processed_row_count = 0 [3312]The query was executed successfully and the query did not return any result [3312]send_query: done sending command [3312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [3312]CC_send_settings: result 0, status 1 from set DateStyle [3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]QResult: in DESTRUCTOR [3312]QResult: free memory in, fcount=0 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='set geqo to 'OFF'' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=17, stmt='set geqo to 'OFF'' [3312] stmt_with_params = 'set geqo to 'OFF'' [3312] it's NOT a select statement: stmt=120063008 [3312]send_query(): conn=120025968, query='set geqo to 'OFF'' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 1 [3312]LIBPQ_execute_query: query = set geqo to 'OFF' [3312]LIBPQ_execute_query: recent_processed_row_count = 0 [3312]The query was executed successfully and the query did not return any result [3312]send_query: done sending command [3312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [3312]CC_send_settings: result 0, status 1 from set geqo [3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]QResult: in DESTRUCTOR [3312]QResult: free memory in, fcount=0 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='set extra_float_digits to 2' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=27, stmt='set extra_float_digits to 2' [3312] stmt_with_params = 'set extra_float_digits to 2' [3312] it's NOT a select statement: stmt=120063008 [3312]send_query(): conn=120025968, query='set extra_float_digits to 2' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 1 [3312]LIBPQ_execute_query: query = set extra_float_digits to 2 [3312]LIBPQ_execute_query: recent_processed_row_count = 0 [3312]The query was executed successfully and the query did not return any result [3312]send_query: done sending command [3312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [3312]CC_send_settings: result 0, status 1 from set extra_float_digits [3312]PGAPI_FreeStmt: entering...hstmt=120063008, fOption=1 [3312]QResult: in DESTRUCTOR [3312]QResult: free memory in, fcount=0 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]SC_Destructor: self=120063008, self->result=0, self->hdbc=120025968 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]PDATA_free_params: ENTER, self=120063440 [3312]ARDFields_free 72804a8 bookmark=72806a0[3312]ARD_unbind_cols freeall=1 allocated=0 bindings=0 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]GDATA_unbind_cols freeall=1 allocated=0 gdata=0 [3312]SC_Destructor: EXIT [3312]CC_lookup_lo: entering... [3312]PGAPI_AllocStmt: entering... [3312]SC_Constructor: entering ... [3312]SC_Constructor: created stmt = 120063008 [3312]**** PGAPI_AllocStmt: hdbc = 120025968, stmt = 120063008 [3312]CC_add_statement: self=120025968, stmt=120063008 [3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='select oid from pg_type where typname='lo'' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=42, stmt='select oid from pg_type where typname='lo'' [3312] stmt_with_params = 'select oid from pg_type where typname='lo'' [3312] Sending SELECT statement on stmt=120063008, cursor_name='SQL_CUR07280420' [3312]send_query(): conn=120025968, query='select oid from pg_type where typname='lo'' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 2 [3312]LIBPQ_execute_query: query = select oid from pg_type where typname='lo' [3312]LIBPQ_execute_query: recent_processed_row_count = 0 [3312]LIBPQ_execute_query: rest types ... [3312]CC_mapping: entering ... [3312]CC_mapping: rows = 0, columns = 1 [3312]CC_mapping: column = 0 [3312]CC_mapping: set field info: name = oid, typ = 26, typlen = 4, attypmod = -1 [3312]in TL_Constructor [3312]exit TL_Constructor [3312]send_query: done sending query with status: 2 [3312]QR_fetch_tuples: cursor = '', self->cursor=0 [3312]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [3312]MALLOC: tuple_size = 100, size = 800 [3312] done sending the query: [3312]extend_column_bindings: entering ... self=120063144, bindings_allocated=0, num_columns=1 [3312]exit extend_column_bindings [3312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [3312]PGAPI_Fetch: stmt = 120063008, stmt->result= 120062160 [3312]manual_result = 1, use_declarefetch = 0 [3312]PGAPI_FreeStmt: entering...hstmt=120063008, fOption=1 [3312]QResult: in DESTRUCTOR [3312]TupleList: in DESTRUCTOR [3312]TupleList: exit DESTRUCTOR [3312]QResult: free memory in, fcount=101 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]SC_Destructor: self=120063008, self->result=0, self->hdbc=120025968 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]PDATA_free_params: ENTER, self=120063440 [3312]ARDFields_free 72804a8 bookmark=72806a0[3312]ARD_unbind_cols freeall=1 allocated=1 bindings=7280020 [3312]reset_a_column_binding: entering ... self=120063144, bindings_allocated=1, icol=1 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]GDATA_unbind_cols freeall=1 allocated=0 gdata=0 [3312]SC_Destructor: EXIT [3312]CC_lookup_characterset: entering... [3312]send_query(): conn=120025968, query='select pg_client_encoding()' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 2 [3312]LIBPQ_execute_query: query = select pg_client_encoding() [3312]LIBPQ_execute_query: recent_processed_row_count = 1 [3312]LIBPQ_execute_query: rest types ... [3312]CC_mapping: entering ... [3312]CC_mapping: rows = 1, columns = 1 [3312]CC_mapping: column = 0 [3312]CC_mapping: set field info: name = pg_client_encoding, typ = 19, typlen = 64, attypmod = -1 [3312]in TL_Constructor [3312]exit TL_Constructor [3312]CC_mapping: fetch column = pg_client_encoding, value = UTF8 [3312]send_query: done sending query with status: 2 [3312]QR_fetch_tuples: cursor = '', self->cursor=0 [3312]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [3312]MALLOC: tuple_size = 100, size = 800 [3312]QResult: in DESTRUCTOR [3312]TupleList: in DESTRUCTOR [3312]TupleList: exit DESTRUCTOR [3312]QResult: free memory in, fcount=101 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]send_query(): conn=120025968, query='set client_encoding to 'latin9'' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 1 [3312]LIBPQ_execute_query: query = set client_encoding to 'latin9' [3312]LIBPQ_execute_query: recent_processed_row_count = 0 [3312]The query was executed successfully and the query did not return any result [3312]send_query: done sending command [3312]QResult: in DESTRUCTOR [3312]QResult: free memory in, fcount=0 [3312]QResult: free memory out [3312]QResult: exit DESTRUCTOR [3312]CC_connect: returning... [3312]szConnStrOut = 'DSN=PostgreSQL;DATABASE=intwis9;SERVER=localhost;PORT=5432;SSLMODE=prefer;UID=intwis2;PWD=xxxxxxx;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=8192;UnknownSizes=0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=1;CommLog=1;Optimizer=1;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;;LFConversion=1;UpdatableCursors=0;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0;LowerCaseIdentifier=0' len=590,1024 [3312]PGAPI_DriverConnect: returning 0 [3312][[SQLGetDiagRec]] [3312]PGAPI_GetDiagRec entering rec=1[3312]**** PGAPI_ConnectError: hdbc=120025968 <0> [3312]enter CC_get_error [3312]enter CC_create_errormsg [3312]msg = '' [3312]exit CC_create_errormsg [3312]exit CC_get_error [3312]CC_Get_error returned nothing. [3312]PGAPI_GetDiagRec exiting 100 [3312][SQLGetFunctions][3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=23 [3312]PGAPI_GetInfo: p='', len=2, value=2, cbMax=2 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=24 [3312]PGAPI_GetInfo: p='', len=2, value=2, cbMax=2 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=79 [3312]PGAPI_GetInfo: p='', len=4, value=3, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=83 [3312]PGAPI_GetInfo: p='', len=4, value=0, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=78 [3312]PGAPI_GetInfo: p='', len=4, value=1, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=81 [3312]PGAPI_GetInfo: p='', len=4, value=15, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=72 [3312]PGAPI_GetInfo: p='', len=4, value=10, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=82 [3312]PGAPI_GetInfo: p='', len=4, value=90, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=44 [3312]PGAPI_GetInfo: p='', len=4, value=17, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=43 [3312]PGAPI_GetInfo: p='', len=4, value=1, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=144 [3312]PGAPI_GetInfo30: p='', len=4, value=0, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=150 [3312]PGAPI_GetInfo30: p='', len=4, value=4687, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=167 [3312]PGAPI_GetInfo30: p='', len=4, value=4687, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=146 [3312]PGAPI_GetInfo30: p='', len=4, value=1, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=151 [3312]PGAPI_GetInfo30: p='', len=4, value=1, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=168 [3312]PGAPI_GetInfo30: p='', len=4, value=1, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=111 [3312]PGAPI_GetInfo: p='N', len=1, value=0, cbMax=512 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=16 [3312]PGAPI_GetInfo: p='', len=0, value=0, cbMax=0 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=23 [3312]PGAPI_GetInfo: p='', len=2, value=2, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=24 [3312]PGAPI_GetInfo: p='', len=2, value=2, cbMax=4 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=46 [3312]PGAPI_GetInfo: p='', len=2, value=2, cbMax=4 [3312][[SQLSetConnectAttr]] 1 [3312]PGAPI_SetConnectAttr 1 [3312]PGAPI_SetConnectOption: entering fOption = 1 vParam = 0 [3312]SetStmtOption(): SQL_MAX_ROWS, vParam = 0 [3312][[SQLSetConnectAttr]] 0 [3312]PGAPI_SetConnectAttr 0 [3312]PGAPI_SetConnectOption: entering fOption = 0 vParam = 0 [3312]SetStmtOption: SQL_QUERY_TIMEOUT, vParam = 0 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=6 [3312]PGAPI_GetInfo: p='PSQLODBCA.DLL', len=13, value=0, cbMax=52 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=6 [3312]PGAPI_GetInfo: p='PSQLODBCA.DLL', len=13, value=0, cbMax=52 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=6 [3312]PGAPI_GetInfo: p='PSQLODBCA.DLL', len=13, value=0, cbMax=52 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=6 [3312]PGAPI_GetInfo: p='PSQLODBCA.DLL', len=13, value=0, cbMax=48 [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=1 [3312]PGAPI_GetInfo: p='', len=2, value=0, cbMax=4 [3312][[SQLGetConnectAttr]] 109 [3312]PGAPI_GetConnectAttr 109 [3312]PGAPI_GetConnectOption: entering... [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=26 [3312]PGAPI_GetInfo: p='', len=4, value=2, cbMax=4 [3312][[SQLAllocHandle]][3312]PGAPI_AllocStmt: entering... [3312]SC_Constructor: entering ... [3312]SC_Constructor: created stmt = 120063008 [3312]**** PGAPI_AllocStmt: hdbc = 120025968, stmt = 120063008 [3312]CC_add_statement: self=120025968, stmt=120063008 [3312][[SQLGetStmtAttr]] Handle=120063008 10010 [3312]PGAPI_GetStmtAttr Handle=120063008 10010 [3312][[SQLGetStmtAttr]] Handle=120063008 10011 [3312]PGAPI_GetStmtAttr Handle=120063008 10011 [3312][[SQLGetStmtAttr]] Handle=120063008 10012 [3312]PGAPI_GetStmtAttr Handle=120063008 10012 [3312][[SQLGetStmtAttr]] Handle=120063008 10013 [3312]PGAPI_GetStmtAttr Handle=120063008 10013 [3312][[SQLSetStmtAttr]] Handle=120063008 18,10 [3312]PGAPI_SetStmtAttr Handle=120063008 18,10 [3312][[SQLSetStmtAttr]] Handle=120063008 18,0 [3312]PGAPI_SetStmtAttr Handle=120063008 18,0 [3312][[SQLSetStmtAttr]] Handle=120063008 17,1243176 [3312]PGAPI_SetStmtAttr Handle=120063008 17,1243176 [3312][[SQLSetStmtAttr]] Handle=120063008 17,0 [3312]PGAPI_SetStmtAttr Handle=120063008 17,0 [3312][[SQLSetDescField]] h=120063228 rec=1 field=1004 val=12f828 [3312]PGAPI_SetDescField h=120063228 rec=1 field=1004 val=12f828,0 [3312]DESCRIPTOR ERROR: func=PGAPI_SetDescField, desc='', errnum=11, errmsg='bad parameter number' [3312][[SQLSetStmtAttr]] Handle=120063008 0,30 [3312]PGAPI_SetStmtAttr Handle=120063008 0,30 [3312]PGAPI_SetStmtOption: entering... [3312]SetStmtOption: SQL_QUERY_TIMEOUT, vParam = 30 [3312][SQLFreeStmt][3312]PGAPI_FreeStmt: entering...hstmt=120063008, fOption=3 [3312]APD_free_params: ENTER, self=120063260 [3312]IPD_free_params: ENTER, self=120063324 [3312]PDATA_free_params: ENTER, self=120063440 [3312][SQLPrepare][3312]PGAPI_Prepare: entering... [3312]**** PGAPI_Prepare: STMT_ALLOCATED, copy [3312][SQLGetInfo(30)][3312]PGAPI_GetInfo: entering...fInfoType=36 [3312]PGAPI_GetInfo: p='Y', len=1, value=0, cbMax=4 [3312][[SQLSetStmtAttr]] Handle=120063008 1227,1 [3312]PGAPI_SetStmtAttr Handle=120063008 1227,1 [3312]PGAPI_SetStmtOption: entering... [3312][[SQLSetStmtAttr]] Handle=120063008 1228,1 [3312]PGAPI_SetStmtAttr Handle=120063008 1228,1 [3312]PGAPI_SetStmtOption: entering... [3312][[SQLGetStmtAttr]] Handle=120063008 6 [3312]PGAPI_GetStmtAttr Handle=120063008 6 [3312]PGAPI_GetStmtOption: entering... [3312]GetStmtOption(): SQL_CURSOR_TYPE 0 [3312][[SQLGetStmtAttr]] Handle=120063008 7 [3312]PGAPI_GetStmtAttr Handle=120063008 7 [3312]PGAPI_GetStmtOption: entering... [3312]GetStmtOption(): SQL_CONCURRENCY 1 [3312][[SQLGetConnectAttr]] 108 [3312]PGAPI_GetConnectAttr 108 [3312]PGAPI_GetConnectOption: entering... [3312][[SQLSetStmtAttr]] Handle=120063008 22,1 [3312]PGAPI_SetStmtAttr Handle=120063008 22,1 [3312][[SQLSetStmtAttr]] Handle=120063008 21,0 [3312]PGAPI_SetStmtAttr Handle=120063008 21,0 [3312][SQLExecDirect][3312]PGAPI_ExecDirect: entering... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]**** PGAPI_ExecDirect: hstmt=120063008, statement='select 'asdfg' as asdfg ' [3312]PGAPI_ExecDirect: calling PGAPI_Execute... [3312]PGAPI_Execute: entering... [3312]PGAPI_Execute: clear errors... [3312]recycle statement: self= 120063008 [3312]PDATA_free_params: ENTER, self=120063440 [3312]PGAPI_NumParams: entering... [3312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=25, stmt='select 'asdfg' as asdfg ' [3312] stmt_with_params = 'select 'asdfg' as asdfg ' [3312] Sending SELECT statement on stmt=120063008, cursor_name='SQL_CUR07280420' [3312]send_query(): conn=120025968, query='select 'asdfg' as asdfg ' [3312]LIBPQ_execute_query: entering ... [3312]in QR_Constructor [3312]exit QR_Constructor [3312]LIBPQ_execute_query: get next result with status = 2 [3312]LIBPQ_execute_query: query = select 'asdfg' as asdfg