[140304048920320]calling getDSNdefaults [140304048920320]CC_connect: entering... [140304048920320]sslmode=disable [140304048920320]original_CC_connect: entering... [140304048920320]Driver Version='09.02.0100,201306020000' [140304048920320]original_CC_connect: DSN = 'default', server = 'localhost', port = '5432', database = 'postgres', username = 'postgres', password='xxxxx' [140304048920320]connecting to the server socket... [140304048920320](0)(null) ERRNO=115 [140304048920320]connection to the server socket succeeded. [140304048920320]sizeof startup packet = 292 [140304048920320]sent the authentication block successfully. [140304048920320]gonna do authentication [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 15, global_socket_buffersize=4096 [140304048920320]auth got 'R' [140304048920320]areq = 0 salt=0000000000 [140304048920320]auth got 'K' [140304048920320]auth got 'Z' [140304048920320]sending an empty query... [140304048920320]CC_send_query: conn=0x627d30, query=' ' [140304048920320]send_query: done sending query 3bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 3, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'I' [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]empty query seems to be OK. [140304048920320]CC_lookup_pg_version: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x627d30, stmt = 0x6302c0 [140304048920320]CC_add_statement: self=0x627d30, stmt=0x6302c0 [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x6302c0, statement='select version()' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=16, stmt='select version()' [140304048920320] stmt_with_params = 'select version()' [140304048920320]about to begin SC_execute [140304048920320] Sending SELECT statement on stmt=0x6302c0, cursor_name='SQL_CUR0x6302c0' qflag=0,1 [140304048920320]CC_send_query: conn=0x627d30, query='select version()' [140304048920320]send_query: done sending query 18bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 180, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='version', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=135, buffer='PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]end of tuple list -- setting inUse to false: this = 0x6316a0 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320] done sending the query: [140304048920320]extend_column_bindings: entering ... self=0x6303a0, bindings_allocated=0, num_columns=1 [140304048920320]exit extend_column_bindings=0x630270 [140304048920320]SC_set_Result(6302c0, 6316a0)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]PGAPI_Fetch: stmt = 0x6302c0, stmt->result= 0x6316a0 [140304048920320]fetch_cursor=0, 0x6316a0->total_read=1 [140304048920320]**** SC_fetch: non-cursor_result [140304048920320]extend_getdata_info: entering ... self=0x630520, gdata_allocated=0, num_columns=1 [140304048920320]exit extend_gdata_info=0x631e40 [140304048920320]fetch: cols=1, lf=0, opts = 0x6303a0, opts->bindings = 0x630270, buffer[] = (nil) [140304048920320]PGAPI_GetData: enter, stmt=0x6302c0 icol=1 [140304048920320] num_rows = 1 [140304048920320] value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]**** PGAPI_GetData: icol = 0, target_type = 1, field_type = 25, value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]copy_and_convert: field_type = 25, fctype = 1, value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit', cbValueMax=128 [140304048920320]DEFAULT: len = 135, ptr = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320] SQL_C_CHAR, default: len = 135, cbValueMax = 128, rgbValueBindRow = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3' [140304048920320]STATEMENT WARNING: func=PGAPI_GetData, desc='', errnum=-2, errmsg='The buffer was too small for the GetData.' [140304048920320]Got the PostgreSQL version string: 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3' [140304048920320]Extracted PostgreSQL version number: '9.3' [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6302c0, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6302c0)[140304048920320]SC_Destructor: self=0x6302c0, self->result=(nil), self->hdbc=0x627d30 [140304048920320]reset_a_column_binding: entering ... self=0x6303a0, bindings_allocated=1, icol=1 [140304048920320]APD_free_params: ENTER, self=0x630468 [140304048920320]IPD_free_params: ENTER, self=0x6304d8 [140304048920320]PDATA_free_params: ENTER, self=0x6305a0 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_setenv: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x627d30, stmt = 0x6302c0 [140304048920320]CC_add_statement: self=0x627d30, stmt=0x6302c0 [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x6302c0, statement='set DateStyle to 'ISO'' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO'' [140304048920320] stmt_with_params = 'set DateStyle to 'ISO'' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6302c0 [140304048920320]CC_send_query: conn=0x627d30, query='set DateStyle to 'ISO'' [140304048920320]send_query: done sending query 24bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 6, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - SET [140304048920320]send_query: setting cmdbuffer = 'SET' [140304048920320]send_query: returning res = 0x6316a0 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6302c0, 6316a0)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]CC_setenv: result 0, status 1 from set DateStyle [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6302c0)[140304048920320]PDATA_free_params: ENTER, self=0x6305a0 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x6302c0, statement='set extra_float_digits to 2' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x6302c0 [140304048920320]PDATA_free_params: ENTER, self=0x6305a0 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=27, stmt='set extra_float_digits to 2' [140304048920320] stmt_with_params = 'set extra_float_digits to 2' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6302c0 [140304048920320]CC_send_query: conn=0x627d30, query='set extra_float_digits to 2' [140304048920320]send_query: done sending query 29bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 6, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - SET [140304048920320]send_query: setting cmdbuffer = 'SET' [140304048920320]send_query: returning res = 0x630130 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6302c0, 630130)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]CC_setenv: result 0, status 1 from set extra_float_digits [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6302c0, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6302c0)[140304048920320]SC_Destructor: self=0x6302c0, self->result=(nil), self->hdbc=0x627d30 [140304048920320]APD_free_params: ENTER, self=0x630468 [140304048920320]IPD_free_params: ENTER, self=0x6304d8 [140304048920320]PDATA_free_params: ENTER, self=0x6305a0 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_send_settings: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x627d30, stmt = 0x6316c0 [140304048920320]CC_add_statement: self=0x627d30, stmt=0x6316c0 [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6316c0, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]SC_init_Result(6316c0)[140304048920320]SC_Destructor: self=0x6316c0, self->result=(nil), self->hdbc=0x627d30 [140304048920320]APD_free_params: ENTER, self=0x631868 [140304048920320]IPD_free_params: ENTER, self=0x6318d8 [140304048920320]PDATA_free_params: ENTER, self=0x6319a0 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_lookup_lo: entering... [140304048920320]CC_send_query: conn=0x627d30, query='select oid, typbasetype from pg_type where typname = 'lo'' [140304048920320]send_query: done sending query 59bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 57, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 2 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 2 [140304048920320]MALLOC: tuple_size = 100, size = 3200 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]end of tuple list -- setting inUse to false: this = 0x630130 SELECT 0 [140304048920320]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]_QR_next_tuple: 'C': DONE (fcount == 0) [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]Got the large object oid: -999 [140304048920320]CC_lookup_characterset: entering... [140304048920320]CC_send_query: conn=0x627d30, query='select pg_client_encoding()' [140304048920320]send_query: done sending query 29bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 65, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=9, buffer='SQL_ASCII' [140304048920320]end of tuple list -- setting inUse to false: this = 0x630130 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]conn->unicode=0 [140304048920320]CC_connect: returning...1 [140304048920320]PGAPI_Connect: returning..0. [140304048920320][SQLGetFunctions][140304048920320][SQLGetInfo(30)][140304048920320]PGAPI_GetInfo: entering...fInfoType=77 [140304048920320]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=20 [140304048920320][SQLGetInfo(30)][140304048920320]PGAPI_GetInfo: entering...fInfoType=10000 [140304048920320]CC_error_statements: self=0x627d30 [140304048920320]CC_error_statements: self=0x627d30 [140304048920320]CONN ERROR: func=PGAPI_GetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.' [140304048920320][SQLDisconnect for 0x627d30][140304048920320]PGAPI_Disconnect: entering... [140304048920320]calling getDSNdefaults [140304048920320]CC_connect: entering... [140304048920320]sslmode=disable [140304048920320]original_CC_connect: entering... [140304048920320]Driver Version='09.02.0100,201306020000' [140304048920320]original_CC_connect: DSN = 'default', server = 'localhost', port = '5432', database = 'postgres', username = 'postgres', password='xxxxx' [140304048920320]connecting to the server socket... [140304048920320](0)(null) ERRNO=115 [140304048920320]connection to the server socket succeeded. [140304048920320]sizeof startup packet = 292 [140304048920320]sent the authentication block successfully. [140304048920320]gonna do authentication [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 15, global_socket_buffersize=4096 [140304048920320]auth got 'R' [140304048920320]areq = 0 salt=0000000000 [140304048920320]auth got 'K' [140304048920320]auth got 'Z' [140304048920320]sending an empty query... [140304048920320]CC_send_query: conn=0x6279d0, query=' ' [140304048920320]send_query: done sending query 3bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 3, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'I' [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]empty query seems to be OK. [140304048920320]CC_lookup_pg_version: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x631490 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x631490 [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x631490, statement='select version()' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=16, stmt='select version()' [140304048920320] stmt_with_params = 'select version()' [140304048920320]about to begin SC_execute [140304048920320] Sending SELECT statement on stmt=0x631490, cursor_name='SQL_CUR0x631490' qflag=0,1 [140304048920320]CC_send_query: conn=0x6279d0, query='select version()' [140304048920320]send_query: done sending query 18bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 180, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='version', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=135, buffer='PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aa10 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320] done sending the query: [140304048920320]extend_column_bindings: entering ... self=0x631570, bindings_allocated=0, num_columns=1 [140304048920320]exit extend_column_bindings=0x62ac10 [140304048920320]SC_set_Result(631490, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]PGAPI_Fetch: stmt = 0x631490, stmt->result= 0x62aa10 [140304048920320]fetch_cursor=0, 0x62aa10->total_read=1 [140304048920320]**** SC_fetch: non-cursor_result [140304048920320]extend_getdata_info: entering ... self=0x6316f0, gdata_allocated=0, num_columns=1 [140304048920320]exit extend_gdata_info=0x62ac40 [140304048920320]fetch: cols=1, lf=0, opts = 0x631570, opts->bindings = 0x62ac10, buffer[] = (nil) [140304048920320]PGAPI_GetData: enter, stmt=0x631490 icol=1 [140304048920320] num_rows = 1 [140304048920320] value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]**** PGAPI_GetData: icol = 0, target_type = 1, field_type = 25, value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320]copy_and_convert: field_type = 25, fctype = 1, value = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit', cbValueMax=128 [140304048920320]DEFAULT: len = 135, ptr = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3, 64-bit' [140304048920320] SQL_C_CHAR, default: len = 135, cbValueMax = 128, rgbValueBindRow = 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3' [140304048920320]STATEMENT WARNING: func=PGAPI_GetData, desc='', errnum=-2, errmsg='The buffer was too small for the GetData.' [140304048920320]Got the PostgreSQL version string: 'PostgreSQL 9.3.1 on i686-wrs-linux-gnu, compiled by i686-wrs-linux-gnu-gcc (Wind River Linux Sourcery CodeBench 4.6a-116) 4.6.3' [140304048920320]Extracted PostgreSQL version number: '9.3' [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x631490, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(631490)[140304048920320]SC_Destructor: self=0x631490, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]reset_a_column_binding: entering ... self=0x631570, bindings_allocated=1, icol=1 [140304048920320]APD_free_params: ENTER, self=0x631638 [140304048920320]IPD_free_params: ENTER, self=0x6316a8 [140304048920320]PDATA_free_params: ENTER, self=0x631770 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_setenv: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x631490 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x631490 [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x631490, statement='set DateStyle to 'ISO'' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO'' [140304048920320] stmt_with_params = 'set DateStyle to 'ISO'' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x631490 [140304048920320]CC_send_query: conn=0x6279d0, query='set DateStyle to 'ISO'' [140304048920320]send_query: done sending query 24bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 6, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - SET [140304048920320]send_query: setting cmdbuffer = 'SET' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(631490, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]CC_setenv: result 0, status 1 from set DateStyle [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(631490)[140304048920320]PDATA_free_params: ENTER, self=0x631770 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x631490, statement='set extra_float_digits to 2' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x631490 [140304048920320]PDATA_free_params: ENTER, self=0x631770 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=27, stmt='set extra_float_digits to 2' [140304048920320] stmt_with_params = 'set extra_float_digits to 2' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x631490 [140304048920320]CC_send_query: conn=0x6279d0, query='set extra_float_digits to 2' [140304048920320]send_query: done sending query 29bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 6, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - SET [140304048920320]send_query: setting cmdbuffer = 'SET' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(631490, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]CC_setenv: result 0, status 1 from set extra_float_digits [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x631490, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(631490)[140304048920320]SC_Destructor: self=0x631490, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]APD_free_params: ENTER, self=0x631638 [140304048920320]IPD_free_params: ENTER, self=0x6316a8 [140304048920320]PDATA_free_params: ENTER, self=0x631770 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_send_settings: entering... [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x631490 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x631490 [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x631490, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]SC_init_Result(631490)[140304048920320]SC_Destructor: self=0x631490, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]APD_free_params: ENTER, self=0x631638 [140304048920320]IPD_free_params: ENTER, self=0x6316a8 [140304048920320]PDATA_free_params: ENTER, self=0x631770 [140304048920320]SC_Destructor: EXIT [140304048920320]CC_lookup_lo: entering... [140304048920320]CC_send_query: conn=0x6279d0, query='select oid, typbasetype from pg_type where typname = 'lo'' [140304048920320]send_query: done sending query 59bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 57, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 2 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 2 [140304048920320]MALLOC: tuple_size = 100, size = 3200 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aa10 SELECT 0 [140304048920320]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]_QR_next_tuple: 'C': DONE (fcount == 0) [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]Got the large object oid: -999 [140304048920320]CC_lookup_characterset: entering... [140304048920320]CC_send_query: conn=0x6279d0, query='select pg_client_encoding()' [140304048920320]send_query: done sending query 29bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 65, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=9, buffer='SQL_ASCII' [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aa10 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]conn->unicode=0 [140304048920320]CC_connect: returning...1 [140304048920320]PGAPI_Connect: returning..0. [140304048920320][SQLGetFunctions][140304048920320][SQLGetInfo(30)][140304048920320]PGAPI_GetInfo: entering...fInfoType=77 [140304048920320]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=20 [140304048920320][SQLGetInfo(30)][140304048920320]PGAPI_GetInfo: entering...fInfoType=10000 [140304048920320]CC_error_statements: self=0x6279d0 [140304048920320]CC_error_statements: self=0x6279d0 [140304048920320]CONN ERROR: func=PGAPI_GetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.' [140304048920320][[SQLAllocHandle]][140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x6269a0 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x6269a0 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10010 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10010 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10011 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10011 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10012 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10012 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10013 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10013 [140304048920320][SQLExecDirect][140304048920320]PGAPI_ExecDirect: entering...1 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x6269a0, statement='select tablename from pg_tables where tablename='test'' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=54, stmt='select tablename from pg_tables where tablename='test'' [140304048920320] stmt_with_params = 'select tablename from pg_tables where tablename='test'' [140304048920320]about to begin SC_execute [140304048920320] Sending SELECT statement on stmt=0x6269a0, cursor_name='SQL_CUR0x6269a0' qflag=0,1 [140304048920320]CC_send_query: conn=0x6279d0, query='select tablename from pg_tables where tablename='test'' [140304048920320]send_query: done sending query 56bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 41, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='tablename', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aa10 SELECT 0 [140304048920320]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]_QR_next_tuple: 'C': DONE (fcount == 0) [140304048920320]send_query: got id = 'Z' [140304048920320] done sending the query: [140304048920320]extend_column_bindings: entering ... self=0x626a80, bindings_allocated=0, num_columns=1 [140304048920320]exit extend_column_bindings=0x62d6d0 [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320][[SQLFetch]][140304048920320]PGAPI_ExtendedFetch: stmt=0x6269a0 rowsetSize=1 [140304048920320]SQL_FETCH_NEXT: num_tuples=0, currtuple=-1, rowst=-1 [140304048920320][[SQLCloseCursor]][140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6269a0, fOption=0 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320][[SQLFreeHandle]][140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6269a0, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]SC_Destructor: self=0x6269a0, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]reset_a_column_binding: entering ... self=0x626a80, bindings_allocated=1, icol=1 [140304048920320]APD_free_params: ENTER, self=0x626b48 [140304048920320]IPD_free_params: ENTER, self=0x626bb8 [140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]SC_Destructor: EXIT [140304048920320][[SQLAllocHandle]][140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x6269a0 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x6269a0 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10010 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10010 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10011 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10011 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10012 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10012 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10013 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10013 [140304048920320][SQLExecDirect][140304048920320]PGAPI_ExecDirect: entering...1 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x6269a0, statement='create table test (id integer primary key)' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=42, stmt='create table test (id integer primary key)' [140304048920320] stmt_with_params = 'create table test (id integer primary key)' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='create table test (id integer primary key)' [140304048920320]send_query: done sending query 44bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 15, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - CREATE TABLE [140304048920320]send_query: setting cmdbuffer = 'CREATE TABLE' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320][SQLPrepare][140304048920320]PGAPI_Prepare: entering... [140304048920320]**** PGAPI_Prepare: STMT_FINISHED, recycle [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320][SQLBindParameter][140304048920320]PGAPI_BindParameter: entering... [140304048920320]extend_parameter_bindings: entering ... self=0x626b48, parameters_allocated=0, num_params=1,(nil) [140304048920320]exit extend_parameter_bindings=0x62b620 [140304048920320]extend_iparameter_bindings: entering ... self=0x626bb8, parameters_allocated=0, num_params=1 [140304048920320]exit extend_iparameter_bindings=0x62b650 [140304048920320]extend_putdata_info: entering ... self=0x626c80, parameters_allocated=0, num_params=1 [140304048920320]exit extend_putdata_info=0x622c80 [140304048920320]PGAPI_BindParameter: ipar=0, paramType=1, fCType=4, fSqlType=4, cbColDef=0, ibScale=0,[140304048920320]rgbValue=0x7fffaea04aac(0), pcbValue=(nil) [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 1 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 1 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 2 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 2 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 3 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 3 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 4 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 4 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 5 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 5 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 6 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 6 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 7 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 7 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 8 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 8 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 9 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 9 )' [140304048920320]send_query: done sending query 38bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 10 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 10 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 11 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 11 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 12 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 12 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 13 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 13 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 14 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 14 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 15 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 15 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 16 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 16 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 17 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 17 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 18 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 18 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 19 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 19 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_Execute: recycling statement (should have been done by app)... [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )' [140304048920320]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23) [140304048920320]cvt_null_date_string=0 pgtype=23 buf=(nil) [140304048920320] stmt_with_params = 'insert into test ( id ) values ( 20 )' [140304048920320]about to begin SC_execute [140304048920320] it's NOT a select statement: stmt=0x6269a0 [140304048920320]CC_send_query: conn=0x6279d0, query='insert into test ( id ) values ( 20 )' [140304048920320]send_query: done sending query 39bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 13, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - INSERT 0 1 [140304048920320]send_query: setting cmdbuffer = 'INSERT 0 1' [140304048920320]send_query: returning res = 0x62aa10 [140304048920320]send_query: got id = 'Z' [140304048920320]SC_set_Result(6269a0, 62aa10)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][[SQLFreeHandle]][140304048920320]PGAPI_FreeStmt: entering...hstmt=0x6269a0, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(6269a0)[140304048920320]SC_Destructor: self=0x6269a0, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]APD_free_params: ENTER, self=0x626b48 [140304048920320]APD_free_params: EXIT [140304048920320]IPD_free_params: ENTER, self=0x626bb8 [140304048920320]IPD_free_params: EXIT [140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]PDATA_free_params: EXIT [140304048920320]SC_Destructor: EXIT [140304048920320][[SQLAllocHandle]][140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x6269a0 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x6269a0 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10010 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10010 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10011 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10011 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10012 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10012 [140304048920320][[SQLGetStmtAttr]] Handle=6449568 10013 [140304048920320]PGAPI_GetStmtAttr Handle=0x6269a0 10013 [140304048920320][[SQLSetStmtAttr]] Handle=0x6269a0 6,3 [140304048920320]PGAPI_SetStmtAttr Handle=0x6269a0 6,3(0x3) [140304048920320]PGAPI_SetStmtOption: entering... [140304048920320]SetStmtOption(): SQL_CURSOR_TYPE = 3 [140304048920320]-> 3 [140304048920320][[SQLSetStmtAttr]] Handle=0x6269a0 7,3 [140304048920320]PGAPI_SetStmtAttr Handle=0x6269a0 7,3(0x3) [140304048920320]PGAPI_SetStmtOption: entering... [140304048920320]SetStmtOption(): SQL_CONCURRENCY = 3 [140304048920320]-> 3 [140304048920320][SQLPrepare][140304048920320]PGAPI_Prepare: entering... [140304048920320]**** PGAPI_Prepare: STMT_ALLOCATED, copy [140304048920320][SQLExecute][140304048920320]PGAPI_Execute: entering...1 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:3 [140304048920320]SC_recycle_statement: self= 0x6269a0 [140304048920320]PDATA_free_params: ENTER, self=0x626c80 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=18, stmt='select * from test' [140304048920320]parse_the_statement: entering... [140304048920320]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='select', ptr='* from test' [140304048920320]SELECT [140304048920320]got ispunct: s[0] = '*' [140304048920320]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='*', ptr='from test' [140304048920320]blevel=0 btoken=select in_dot=0 in_field=0 tbname= [140304048920320]reallocing at nfld=0 [140304048920320]got field='*', dot='(null)' [140304048920320]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='from', ptr='test' [140304048920320]First [140304048920320]FROM [140304048920320]unquoted=1, quote=0, dquote=0, numeric=0, delim='', token='test', ptr='' [140304048920320]got table = 'test' [140304048920320]-------------------------------------------- [140304048920320]nfld=1, ntab=1 [140304048920320]Field 0: expr=0, func=0, quote=0, dquote=0, numeric=0, name='*', alias='(null)', dot='(null)' [140304048920320] ----> table_name='test', table_alias='(null)' [140304048920320]Table 0: name='test', alias='(null)' [140304048920320]CC_send_query: conn=0x6279d0, query='select current_schema()' [140304048920320]send_query: done sending query 25bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 58, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='current_schema', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=6, buffer='public' [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aba0 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]CC_send_query: conn=0x6279d0, query='select nspname from pg_namespace n, pg_class c where c.relnamespace=n.oid and c.oid='"test"'::regclass' [140304048920320]send_query: done sending query 104bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 51, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 1 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='nspname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=6, buffer='public' [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aba0 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]PARSE: Getting PG_Columns for table 0(test) [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x627390 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x627390 [140304048920320]PGAPI_Columns: entering...stmt=0x627390 scnm=0x627950 len=-3 [140304048920320]SC_recycle_statement: self= 0x627390 [140304048920320]simple in=test(4) [140304048920320]simple output=test(4) [140304048920320]simple in=public(6) [140304048920320]simple output=public(6) [140304048920320]PGAPI_AllocStmt: entering... [140304048920320]**** PGAPI_AllocStmt: hdbc = 0x6279d0, stmt = 0x633060 [140304048920320]CC_add_statement: self=0x6279d0, stmt=0x633060 [140304048920320]PGAPI_Columns: hcol_stmt = 0x633060, col_stmt = 0x633060 [140304048920320]PGAPI_ExecDirect: entering...0 [140304048920320]SC_recycle_statement: self= 0x633060 [140304048920320]**** PGAPI_ExecDirect: hstmt=0x633060, statement='select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = E'test' and n.nspname = E'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum' [140304048920320]PGAPI_ExecDirect: calling PGAPI_Execute... [140304048920320]PGAPI_Execute: entering...0 [140304048920320]PGAPI_Execute: clear errors... [140304048920320]PGAPI_NumParams: entering... [140304048920320]SC_scanQueryAndCountParams: entering... [140304048920320]prepareParameters was not called, prepare state:2 [140304048920320]SC_recycle_statement: self= 0x633060 [140304048920320]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=689, stmt='select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = E'test' and n.nspname = E'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum' [140304048920320] stmt_with_params = 'select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = E'test' and n.nspname = E'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum' [140304048920320]about to begin SC_execute [140304048920320] Sending SELECT statement on stmt=0x633060, cursor_name='SQL_CUR0x633060' qflag=0,1 [140304048920320]CC_send_query: conn=0x6279d0, query='select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = E'test' and n.nspname = E'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum' [140304048920320]send_query: done sending query 691bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 416, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 16 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='nspname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='relname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='attname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='atttypid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='typname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='attnum', adtid=21, adtsize=2, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='attlen', adtid=21, adtsize=2, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='atttypmod', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='attnotnull', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='relhasrules', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='pg_get_expr', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='case', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='typtypmod', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='relhasoids', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 16 [140304048920320]MALLOC: tuple_size = 100, size = 25600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=6, buffer='public' [140304048920320]qresult: len=4, buffer='test' [140304048920320]qresult: len=2, buffer='id' [140304048920320]qresult: len=2, buffer='23' [140304048920320]qresult: len=4, buffer='int4' [140304048920320]qresult: len=1, buffer='1' [140304048920320]qresult: len=1, buffer='4' [140304048920320]qresult: len=2, buffer='-1' [140304048920320]qresult: len=1, buffer='t' [140304048920320]qresult: len=1, buffer='f' [140304048920320]qresult: len=1, buffer='r' [140304048920320]qresult: len=5, buffer='16553' [140304048920320]qresult: len=1, buffer='0' [140304048920320]qresult: len=2, buffer='-1' [140304048920320]qresult: len=1, buffer='f' [140304048920320]end of tuple list -- setting inUse to false: this = 0x62aba0 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320] done sending the query: [140304048920320]extend_column_bindings: entering ... self=0x633140, bindings_allocated=0, num_columns=16 [140304048920320]exit extend_column_bindings=0x63ad60 [140304048920320]SC_set_Result(633060, 62aba0)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320]PGAPI_ExecDirect: returned 0 from PGAPI_Execute [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 1 [140304048920320]**** : fCType=1 rgb=0x7fffaea03c48 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=0, num_columns=1 [140304048920320]exit extend_gdata_info=0x63aff0 [140304048920320] bound buffer[0] = 0x7fffaea03c48 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 2 [140304048920320]**** : fCType=1 rgb=0x7fffaea03cc8 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=1, num_columns=2 [140304048920320]exit extend_gdata_info=0x63b020 [140304048920320] bound buffer[1] = 0x7fffaea03cc8 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 3 [140304048920320]**** : fCType=1 rgb=0x7fffaea03d48 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=2, num_columns=3 [140304048920320]exit extend_gdata_info=0x63b070 [140304048920320] bound buffer[2] = 0x7fffaea03d48 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 4 [140304048920320]**** : fCType=-18 rgb=0x7fffaea03f90 valusMax=4 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=3, num_columns=4 [140304048920320]exit extend_gdata_info=0x63b0e0 [140304048920320] bound buffer[3] = 0x7fffaea03f90 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 5 [140304048920320]**** : fCType=1 rgb=0x7fffaea03dc8 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=4, num_columns=5 [140304048920320]exit extend_gdata_info=0x63b170 [140304048920320] bound buffer[4] = 0x7fffaea03dc8 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 6 [140304048920320]**** : fCType=5 rgb=0x7fffaea03f9e valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=5, num_columns=6 [140304048920320]exit extend_gdata_info=0x63b220 [140304048920320] bound buffer[5] = 0x7fffaea03f9e [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 8 [140304048920320]**** : fCType=4 rgb=0x7fffaea03f84 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=6, num_columns=8 [140304048920320]exit extend_gdata_info=0x63b0e0 [140304048920320] bound buffer[7] = 0x7fffaea03f84 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 9 [140304048920320]**** : fCType=1 rgb=0x7fffaea03e48 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=8, num_columns=9 [140304048920320]exit extend_gdata_info=0x63b1f0 [140304048920320] bound buffer[8] = 0x7fffaea03e48 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 10 [140304048920320]**** : fCType=1 rgb=0x7fffaea03ec8 valusMax=128 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=9, num_columns=10 [140304048920320]exit extend_gdata_info=0x63aff0 [140304048920320] bound buffer[9] = 0x7fffaea03ec8 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 11 [140304048920320]**** : fCType=1 rgb=0x7fffaea03f7c valusMax=8 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=10, num_columns=11 [140304048920320]exit extend_gdata_info=0x63b140 [140304048920320] bound buffer[10] = 0x7fffaea03f7c [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 12 [140304048920320]**** : fCType=4 rgb=0x7fffaea03f94 valusMax=4 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=11, num_columns=12 [140304048920320]exit extend_gdata_info=0x63b2b0 [140304048920320] bound buffer[11] = 0x7fffaea03f94 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 14 [140304048920320]**** : fCType=-18 rgb=0x7fffaea03f98 valusMax=4 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=12, num_columns=14 [140304048920320]exit extend_gdata_info=0x63aff0 [140304048920320] bound buffer[13] = 0x7fffaea03f98 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 15 [140304048920320]**** : fCType=4 rgb=0x7fffaea03f88 valusMax=4 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=14, num_columns=15 [140304048920320]exit extend_gdata_info=0x63b1c0 [140304048920320] bound buffer[14] = 0x7fffaea03f88 [140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x633060, icol = 16 [140304048920320]**** : fCType=4 rgb=0x7fffaea03f8c valusMax=4 pcb=(nil) [140304048920320]extend_getdata_info: entering ... self=0x6332c0, gdata_allocated=15, num_columns=16 [140304048920320]exit extend_gdata_info=0x63b3b0 [140304048920320] bound buffer[15] = 0x7fffaea03f8c [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]SC_set_Result(627390, 63aff0)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]extend_column_bindings: entering ... self=0x627470, bindings_allocated=0, num_columns=25 [140304048920320]exit extend_column_bindings=0x63b5c0 [140304048920320]in QR_set_num_fields [140304048920320]exit QR_set_num_fields [140304048920320]PGAPI_Fetch: stmt = 0x633060, stmt->result= 0x62aba0 [140304048920320]fetch_cursor=0, 0x62aba0->total_read=1 [140304048920320]**** SC_fetch: non-cursor_result [140304048920320]fetch: cols=16, lf=0, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03c48 [140304048920320]type = 19, atttypmod = -1 [140304048920320]value = 'public' [140304048920320]copy_and_convert: field_type = 19, fctype = 1, value = 'public', cbValueMax=128 [140304048920320]DEFAULT: len = 6, ptr = 'public' [140304048920320] SQL_C_CHAR, default: len = 6, cbValueMax = 128, rgbValueBindRow = 'public' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=1, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03cc8 [140304048920320]type = 19, atttypmod = -1 [140304048920320]value = 'test' [140304048920320]copy_and_convert: field_type = 19, fctype = 1, value = 'test', cbValueMax=128 [140304048920320]DEFAULT: len = 4, ptr = 'test' [140304048920320] SQL_C_CHAR, default: len = 4, cbValueMax = 128, rgbValueBindRow = 'test' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=2, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03d48 [140304048920320]type = 19, atttypmod = -1 [140304048920320]value = 'id' [140304048920320]copy_and_convert: field_type = 19, fctype = 1, value = 'id', cbValueMax=128 [140304048920320]DEFAULT: len = 2, ptr = 'id' [140304048920320] SQL_C_CHAR, default: len = 2, cbValueMax = 128, rgbValueBindRow = 'id' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=3, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f90 [140304048920320]type = 26, atttypmod = -1 [140304048920320]value = '23' [140304048920320]copy_and_convert: field_type = 26, fctype = -18, value = '23', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=4, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03dc8 [140304048920320]type = 19, atttypmod = -1 [140304048920320]value = 'int4' [140304048920320]copy_and_convert: field_type = 19, fctype = 1, value = 'int4', cbValueMax=128 [140304048920320]DEFAULT: len = 4, ptr = 'int4' [140304048920320] SQL_C_CHAR, default: len = 4, cbValueMax = 128, rgbValueBindRow = 'int4' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=5, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f9e [140304048920320]type = 21, atttypmod = -1 [140304048920320]value = '1' [140304048920320]copy_and_convert: field_type = 21, fctype = 5, value = '1', cbValueMax=128 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=6, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = (nil) [140304048920320]fetch: cols=16, lf=7, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f84 [140304048920320]type = 23, atttypmod = -1 [140304048920320]value = '-1' [140304048920320]copy_and_convert: field_type = 23, fctype = 4, value = '-1', cbValueMax=128 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=8, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03e48 [140304048920320]type = 16, atttypmod = -1 [140304048920320]value = 't' [140304048920320]copy_and_convert: field_type = 16, fctype = 1, value = 't', cbValueMax=128 [140304048920320]PG_TYPE_BOOL: rgbValueBindRow = '1' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=9, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03ec8 [140304048920320]type = 16, atttypmod = -1 [140304048920320]value = 'f' [140304048920320]copy_and_convert: field_type = 16, fctype = 1, value = 'f', cbValueMax=128 [140304048920320]PG_TYPE_BOOL: rgbValueBindRow = '0' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=10, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f7c [140304048920320]type = 18, atttypmod = -1 [140304048920320]value = 'r' [140304048920320]copy_and_convert: field_type = 18, fctype = 1, value = 'r', cbValueMax=8 [140304048920320]DEFAULT: len = 1, ptr = 'r' [140304048920320] SQL_C_CHAR, default: len = 1, cbValueMax = 8, rgbValueBindRow = 'r' [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=11, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f94 [140304048920320]type = 26, atttypmod = -1 [140304048920320]value = '16553' [140304048920320]copy_and_convert: field_type = 26, fctype = 4, value = '16553', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=12, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = (nil) [140304048920320]fetch: cols=16, lf=13, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f98 [140304048920320]type = 26, atttypmod = -1 [140304048920320]value = '0' [140304048920320]copy_and_convert: field_type = 26, fctype = -18, value = '0', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=14, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f88 [140304048920320]type = 23, atttypmod = -1 [140304048920320]value = '-1' [140304048920320]copy_and_convert: field_type = 23, fctype = 4, value = '-1', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0 [140304048920320]fetch: cols=16, lf=15, opts = 0x633140, opts->bindings = 0x63ad60, buffer[] = 0x7fffaea03f8c [140304048920320]type = 16, atttypmod = -1 [140304048920320]value = 'f' [140304048920320]copy_and_convert: field_type = 16, fctype = 4, value = 'f', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0 [140304048920320]PGAPI_SetPos fOption=0 irow=1 lock=0 currt=0 [140304048920320]num_cols=16 gdatainfo=16 [140304048920320]spos_callback: 0 in [140304048920320]PGAPI_SetPos returning 0 [140304048920320]PGAPI_GetData: enter, stmt=0x633060 icol=13 [140304048920320] num_rows = 1 [140304048920320] value = '(null)' [140304048920320]**** PGAPI_GetData: icol = 12, target_type = 1, field_type = 25, value = '(null)' [140304048920320]copy_and_convert: field_type = 25, fctype = 1, value = '', cbValueMax=0 [140304048920320]null_cvt_date_string=0 [140304048920320]PGAPI_Fetch: stmt = 0x633060, stmt->result= 0x62aba0 [140304048920320]fetch_cursor=0, 0x62aba0->total_read=1 [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x633060, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]SC_init_Result(633060)[140304048920320]SC_Destructor: self=0x633060, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=1 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=2 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=3 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=4 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=5 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=6 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=7 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=8 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=9 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=10 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=11 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=12 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=13 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=14 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=15 [140304048920320]reset_a_column_binding: entering ... self=0x633140, bindings_allocated=16, icol=16 [140304048920320]APD_free_params: ENTER, self=0x633208 [140304048920320]IPD_free_params: ENTER, self=0x633278 [140304048920320]PDATA_free_params: ENTER, self=0x633340 [140304048920320]SC_Destructor: EXIT [140304048920320]PGAPI_Columns: EXIT, stmt=0x627390 [140304048920320] Past PG_Columns [140304048920320] Success [140304048920320]PARSE: Allocating col_info at ntables=0 [140304048920320]PARSE: malloc at conn->col_info[0] [140304048920320]SC_init_Result(627390)[140304048920320]Created col_info table='test', ntables=1 [140304048920320]PGAPI_FreeStmt: entering...hstmt=0x627390, fOption=1 [140304048920320]QResult: enter DESTRUCTOR [140304048920320]SC_init_Result(627390)[140304048920320]SC_Destructor: self=0x627390, self->result=(nil), self->hdbc=0x6279d0 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=1 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=2 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=3 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=4 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=5 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=6 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=7 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=8 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=9 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=10 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=11 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=12 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=13 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=14 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=15 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=16 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=17 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=18 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=19 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=20 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=21 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=22 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=23 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=24 [140304048920320]reset_a_column_binding: entering ... self=0x627470, bindings_allocated=25, icol=25 [140304048920320]APD_free_params: ENTER, self=0x627538 [140304048920320]IPD_free_params: ENTER, self=0x6275a8 [140304048920320]PDATA_free_params: ENTER, self=0x627670 [140304048920320]SC_Destructor: EXIT [140304048920320]Done PG_Columns [140304048920320]expanding field 0 [140304048920320]k=0, increased_cols=0, allocated_size=32, new_size=1 [140304048920320]done copying fields [140304048920320]irdflds->nfields now at 1 [140304048920320]creating field info: n=0 [140304048920320]about to copy at 0 [140304048920320]done copying [140304048920320]i now at 1 [140304048920320]CC_send_query: conn=0x6279d0, query='select relhasoids, c.oid from pg_class c, pg_namespace n where relname = 'test' and nspname = 'public' and c.relnamespace = n.oid' [140304048920320]send_query: done sending query 131bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 72, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 2 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='relhasoids', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 2 [140304048920320]MALLOC: tuple_size = 100, size = 3200 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=1, buffer='f' [140304048920320]qresult: len=5, buffer='16553' [140304048920320]end of tuple list -- setting inUse to false: this = 0x63ad60 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]CC_send_query: conn=0x6279d0, query='select a.attname, a.atttypid from pg_index i, pg_attribute a where indrelid=16553 and indnatts=1 and indisunique and indexprs is null and indpred is null and i.indrelid = a.attrelid and a.attnum=i.indkey[0] and attnotnull and atttypid in (23, 26)' [140304048920320]send_query: done sending query 248bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 72, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 2 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='attname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='atttypid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 2 [140304048920320]MALLOC: tuple_size = 100, size = 3200 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=2, buffer='id' [140304048920320]qresult: len=2, buffer='23' [140304048920320]end of tuple list -- setting inUse to false: this = 0x63ad60 SELECT 1 [140304048920320]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=1 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]done parse_the_statement: parse=1, parse_status=1 [140304048920320] stmt_with_params = 'select * , "ctid", "id" from test' [140304048920320]about to begin SC_execute [140304048920320] Sending SELECT statement on stmt=0x6269a0, cursor_name='SQL_CUR0x6269a0' qflag=2,3 [140304048920320]CC_send_query: conn=0x6279d0, query='select * , "ctid", "id" from test' [140304048920320]send_query: done sending query 35bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 516, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'P' [140304048920320]send_query: got id = 'T' [140304048920320]QR_fetch_tuples: cursor = '', self->cursor=(nil) [140304048920320]num_fields = 3 [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='id', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='ctid', adtid=27, adtsize=6, atttypmod=-1 (rel,att)=(0,0) [140304048920320]READING ATTTYPMOD [140304048920320]CI_read_fields: fieldname='id', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0) [140304048920320]QR_fetch_tuples: past CI_read_fields: num_fields = 1 [140304048920320]MALLOC: tuple_size = 100, size = 1600 [140304048920320]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0 [140304048920320]qresult: len=1, buffer='1' [140304048920320]qresult: len=5, buffer='(0,1)' [140304048920320]qresult: len=1, buffer='1' [140304048920320]qresult: len=1, buffer='2' [140304048920320]qresult: len=5, buffer='(0,2)' [140304048920320]qresult: len=1, buffer='2' [140304048920320]qresult: len=1, buffer='3' [140304048920320]qresult: len=5, buffer='(0,3)' [140304048920320]qresult: len=1, buffer='3' [140304048920320]qresult: len=1, buffer='4' [140304048920320]qresult: len=5, buffer='(0,4)' [140304048920320]qresult: len=1, buffer='4' [140304048920320]qresult: len=1, buffer='5' [140304048920320]qresult: len=5, buffer='(0,5)' [140304048920320]qresult: len=1, buffer='5' [140304048920320]qresult: len=1, buffer='6' [140304048920320]qresult: len=5, buffer='(0,6)' [140304048920320]qresult: len=1, buffer='6' [140304048920320]qresult: len=1, buffer='7' [140304048920320]qresult: len=5, buffer='(0,7)' [140304048920320]qresult: len=1, buffer='7' [140304048920320]qresult: len=1, buffer='8' [140304048920320]qresult: len=5, buffer='(0,8)' [140304048920320]qresult: len=1, buffer='8' [140304048920320]qresult: len=1, buffer='9' [140304048920320]qresult: len=5, buffer='(0,9)' [140304048920320]qresult: len=1, buffer='9' [140304048920320]qresult: len=2, buffer='10' [140304048920320]qresult: len=6, buffer='(0,10)' [140304048920320]qresult: len=2, buffer='10' [140304048920320]qresult: len=2, buffer='11' [140304048920320]qresult: len=6, buffer='(0,11)' [140304048920320]qresult: len=2, buffer='11' [140304048920320]qresult: len=2, buffer='12' [140304048920320]qresult: len=6, buffer='(0,12)' [140304048920320]qresult: len=2, buffer='12' [140304048920320]qresult: len=2, buffer='13' [140304048920320]qresult: len=6, buffer='(0,13)' [140304048920320]qresult: len=2, buffer='13' [140304048920320]qresult: len=2, buffer='14' [140304048920320]qresult: len=6, buffer='(0,14)' [140304048920320]qresult: len=2, buffer='14' [140304048920320]qresult: len=2, buffer='15' [140304048920320]qresult: len=6, buffer='(0,15)' [140304048920320]qresult: len=2, buffer='15' [140304048920320]qresult: len=2, buffer='16' [140304048920320]qresult: len=6, buffer='(0,16)' [140304048920320]qresult: len=2, buffer='16' [140304048920320]qresult: len=2, buffer='17' [140304048920320]qresult: len=6, buffer='(0,17)' [140304048920320]qresult: len=2, buffer='17' [140304048920320]qresult: len=2, buffer='18' [140304048920320]qresult: len=6, buffer='(0,18)' [140304048920320]qresult: len=2, buffer='18' [140304048920320]qresult: len=2, buffer='19' [140304048920320]qresult: len=6, buffer='(0,19)' [140304048920320]qresult: len=2, buffer='19' [140304048920320]qresult: len=2, buffer='20' [140304048920320]qresult: len=6, buffer='(0,20)' [140304048920320]qresult: len=2, buffer='20' [140304048920320]end of tuple list -- setting inUse to false: this = 0x63ad60 SELECT 20 [140304048920320]_QR_next_tuple: 'C' fetch_total = 20 & this_fetch = 20 [140304048920320]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0 [140304048920320]QR_next_tuple: reached eof now [140304048920320]send_query: got id = 'Z' [140304048920320] done sending the query: [140304048920320]extend_column_bindings: entering ... self=0x626a80, bindings_allocated=0, num_columns=3 [140304048920320]exit extend_column_bindings=0x631b60 [140304048920320]SC_set_Result(6269a0, 63ad60)[140304048920320]QResult: enter DESTRUCTOR [140304048920320]retval=0 [140304048920320][[SQLSetStmtAttr]] Handle=0x6269a0 26,2929740484 [140304048920320]PGAPI_SetStmtAttr Handle=0x6269a0 26,2929740484(0x7fffaea04ac4) [140304048920320][[SQLSetStmtAttr]] Handle=0x6269a0 25,2929740464 [140304048920320]PGAPI_SetStmtAttr Handle=0x6269a0 25,2929740464(0x7fffaea04ab0) [140304048920320][SQLBindCol][140304048920320]PGAPI_BindCol: entering... [140304048920320]**** PGAPI_BindCol: stmt = 0x6269a0, icol = 1 [140304048920320]**** : fCType=4 rgb=0x7fffaea04aa0 valusMax=4 pcb=0x7fffaea04a90 [140304048920320]extend_getdata_info: entering ... self=0x626c00, gdata_allocated=0, num_columns=1 [140304048920320]exit extend_gdata_info=0x631be0 [140304048920320] bound buffer[0] = 0x7fffaea04aa0 [140304048920320][[SQLFetchScroll]] 1,0 [140304048920320]PGAPI_ExtendedFetch: stmt=0x6269a0 rowsetSize=1 [140304048920320]SQL_FETCH_NEXT: num_tuples=20, currtuple=-1, rowst=-1 [140304048920320]SC_pos_reload_needed [140304048920320]CC_send_query: conn=0x6279d0, query='PREPARE "_KEYSET_0x63ad60"(tid,tid) as select * , "ctid", "id" from test where ctid in ($1,$2)' [140304048920320]send_query: done sending query 96bytes flushed [140304048920320]in QR_Constructor [140304048920320]exit QR_Constructor [140304048920320]read -1, global_socket_buffersize=4096 [140304048920320]Lasterror=11 [140304048920320]!!! poll ret=1 revents=1 [140304048920320]read 10, global_socket_buffersize=4096 [140304048920320]send_query: got id = 'C' [140304048920320]send_query: ok - 'C' - PREPARE [140304048920320]send_query: setting cmdbuffer = 'PREPARE' [140304048920320]send_query: returning res = 0x631c80 [140304048920320]send_query: got id = 'Z' [140304048920320]QResult: enter DESTRUCTOR [140304048920320]QResult: in QR_close_result [140304048920320]QResult: free memory in, fcount=0 [140304048920320]QResult: free memory out [140304048920320]QResult: exit close_result [140304048920320]QResult: exit DESTRUCTOR [140304048920320]PGAPI_ExtendedFetch: new currTuple = -1 [140304048920320]fetch_cursor=0, 0x63ad60->total_read=20 [140304048920320]**** SC_fetch: non-cursor_result [140304048920320]extend_getdata_info: entering ... self=0x626c00, gdata_allocated=1, num_columns=3 [140304048920320]exit extend_gdata_info=0x631c80 [140304048920320]fetch: cols=1, lf=0, opts = 0x626a80, opts->bindings = 0x631b60, buffer[] = 0x7fffaea04aa0 [140304048920320]type = 23, atttypmod = -1 [140304048920320]value = '1' [140304048920320]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4 [140304048920320]copy_and_convert: retval = 0