[140680060053248]calling getDSNdefaults
[140680060053248]CC_connect: entering...
[140680060053248]sslmode=disable
[140680060053248]original_CC_connect: entering...
[140680060053248]Driver Version='09.02.0100,201306020000'
[140680060053248]original_CC_connect: DSN = 'default', server = 'localhost', port = '5432', database = 'postgres', username = 'postgres', password='xxxxx'
[140680060053248]connecting to the server socket...
[140680060053248](0)(null) ERRNO=115
[140680060053248]connection to the server socket succeeded.
[140680060053248]sizeof startup packet = 292
[140680060053248]sent the authentication block successfully.
[140680060053248]gonna do authentication
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 15, global_socket_buffersize=4096
[140680060053248]auth got 'R'
[140680060053248]areq = 0 salt=0000000000
[140680060053248]auth got 'K'
[140680060053248]auth got 'Z'
[140680060053248]sending an empty query...
[140680060053248]CC_send_query: conn=0x626f60, query=' '
[140680060053248]send_query: done sending query 3bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 3, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'I'
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]empty query seems to be OK.
[140680060053248]CC_lookup_pg_version: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x626f60, stmt = 0x62c880
[140680060053248]CC_add_statement: self=0x626f60, stmt=0x62c880
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62c880, statement='select version()'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=16, stmt='select version()'
[140680060053248]   stmt_with_params = 'select version()'
[140680060053248]about to begin SC_execute
[140680060053248]       Sending SELECT statement on stmt=0x62c880, cursor_name='SQL_CUR0x62c880' qflag=0,1
[140680060053248]CC_send_query: conn=0x626f60, query='select version()'
[140680060053248]send_query: done sending query 18bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 180, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='version', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]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'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62dc40 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]     done sending the query:
[140680060053248]extend_column_bindings: entering ... self=0x62c950, bindings_allocated=0, num_columns=1
[140680060053248]exit extend_column_bindings=0x62e4c0
[140680060053248]SC_set_Result(62c880, 62dc40)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]PGAPI_Fetch: stmt = 0x62c880, stmt->result= 0x62dc40
[140680060053248]fetch_cursor=0, 0x62dc40->total_read=1
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]extend_getdata_info: entering ... self=0x62cab0, gdata_allocated=0, num_columns=1
[140680060053248]exit extend_gdata_info=0x62e4f0
[140680060053248]fetch: cols=1, lf=0, opts = 0x62c950, opts->bindings = 0x62e4c0, buffer[] = (nil)
[140680060053248]PGAPI_GetData: enter, stmt=0x62c880 icol=1
[140680060053248]     num_rows = 1
[140680060053248]     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'
[140680060053248]**** 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'
[140680060053248]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
[140680060053248]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'
[140680060053248]    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'
[140680060053248]STATEMENT WARNING: func=PGAPI_GetData, desc='', errnum=-2, errmsg='The buffer was too small for the GetData.'
[140680060053248]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'
[140680060053248]Extracted PostgreSQL version number: '9.3'
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62c880, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62c880)[140680060053248]SC_Destructor: self=0x62c880, self->result=(nil), self->hdbc=0x626f60
[140680060053248]reset_a_column_binding: entering ... self=0x62c950, bindings_allocated=1, icol=1
[140680060053248]APD_free_params:  ENTER, self=0x62ca08
[140680060053248]IPD_free_params:  ENTER, self=0x62ca68
[140680060053248]PDATA_free_params:  ENTER, self=0x62cb10
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_setenv: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x626f60, stmt = 0x62c880
[140680060053248]CC_add_statement: self=0x626f60, stmt=0x62c880
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62c880, statement='set DateStyle to 'ISO''
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO''
[140680060053248]   stmt_with_params = 'set DateStyle to 'ISO''
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62c880
[140680060053248]CC_send_query: conn=0x626f60, query='set DateStyle to 'ISO''
[140680060053248]send_query: done sending query 24bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 6, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - SET
[140680060053248]send_query: setting cmdbuffer = 'SET'
[140680060053248]send_query: returning res = 0x62dc40
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62c880, 62dc40)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]CC_setenv: result 0, status 1 from set DateStyle
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62c880)[140680060053248]PDATA_free_params:  ENTER, self=0x62cb10
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62c880, statement='set extra_float_digits to 2'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62c880
[140680060053248]PDATA_free_params:  ENTER, self=0x62cb10
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=27, stmt='set extra_float_digits to 2'
[140680060053248]   stmt_with_params = 'set extra_float_digits to 2'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62c880
[140680060053248]CC_send_query: conn=0x626f60, query='set extra_float_digits to 2'
[140680060053248]send_query: done sending query 29bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 6, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - SET
[140680060053248]send_query: setting cmdbuffer = 'SET'
[140680060053248]send_query: returning res = 0x62dc40
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62c880, 62dc40)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]CC_setenv: result 0, status 1 from set extra_float_digits
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62c880, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62c880)[140680060053248]SC_Destructor: self=0x62c880, self->result=(nil), self->hdbc=0x626f60
[140680060053248]APD_free_params:  ENTER, self=0x62ca08
[140680060053248]IPD_free_params:  ENTER, self=0x62ca68
[140680060053248]PDATA_free_params:  ENTER, self=0x62cb10
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_send_settings: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x626f60, stmt = 0x62c880
[140680060053248]CC_add_statement: self=0x626f60, stmt=0x62c880
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62c880, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]SC_init_Result(62c880)[140680060053248]SC_Destructor: self=0x62c880, self->result=(nil), self->hdbc=0x626f60
[140680060053248]APD_free_params:  ENTER, self=0x62ca08
[140680060053248]IPD_free_params:  ENTER, self=0x62ca68
[140680060053248]PDATA_free_params:  ENTER, self=0x62cb10
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_lookup_lo: entering...
[140680060053248]CC_send_query: conn=0x626f60, query='select oid, typbasetype from pg_type where typname = 'lo''
[140680060053248]send_query: done sending query 59bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 57, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 2
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140680060053248]MALLOC: tuple_size = 100, size = 3200
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62c880 SELECT 0
[140680060053248]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]_QR_next_tuple: 'C': DONE (fcount == 0)
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]Got the large object oid: -999
[140680060053248]CC_lookup_characterset: entering...
[140680060053248]CC_send_query: conn=0x626f60, query='select pg_client_encoding()'
[140680060053248]send_query: done sending query 29bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 65, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=9, buffer='SQL_ASCII'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62c880 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]conn->unicode=0
[140680060053248]CC_connect: returning...1
[140680060053248]PGAPI_Connect: returning..0.
[140680060053248][SQLGetFunctions][140680060053248][SQLGetInfo(30)][140680060053248]PGAPI_GetInfo: entering...fInfoType=77
[140680060053248]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=20
[140680060053248][SQLGetInfo(30)][140680060053248]PGAPI_GetInfo: entering...fInfoType=10000
[140680060053248]CC_error_statements: self=0x626f60
[140680060053248]CC_error_statements: self=0x626f60
[140680060053248]CONN ERROR: func=PGAPI_GetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.'
[140680060053248][SQLDisconnect for 0x626f60][140680060053248]PGAPI_Disconnect: entering...
[140680060053248]calling getDSNdefaults
[140680060053248]CC_connect: entering...
[140680060053248]sslmode=disable
[140680060053248]original_CC_connect: entering...
[140680060053248]Driver Version='09.02.0100,201306020000'
[140680060053248]original_CC_connect: DSN = 'default', server = 'localhost', port = '5432', database = 'postgres', username = 'postgres', password='xxxxx'
[140680060053248]connecting to the server socket...
[140680060053248](0)(null) ERRNO=115
[140680060053248]connection to the server socket succeeded.
[140680060053248]sizeof startup packet = 292
[140680060053248]sent the authentication block successfully.
[140680060053248]gonna do authentication
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 15, global_socket_buffersize=4096
[140680060053248]auth got 'R'
[140680060053248]areq = 0 salt=0000000000
[140680060053248]auth got 'K'
[140680060053248]auth got 'Z'
[140680060053248]sending an empty query...
[140680060053248]CC_send_query: conn=0x625bd0, query=' '
[140680060053248]send_query: done sending query 3bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 3, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'I'
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]empty query seems to be OK.
[140680060053248]CC_lookup_pg_version: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e150
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e150
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62e150
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62e150, statement='select version()'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62e150
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=16, stmt='select version()'
[140680060053248]   stmt_with_params = 'select version()'
[140680060053248]about to begin SC_execute
[140680060053248]       Sending SELECT statement on stmt=0x62e150, cursor_name='SQL_CUR0x62e150' qflag=0,1
[140680060053248]CC_send_query: conn=0x625bd0, query='select version()'
[140680060053248]send_query: done sending query 18bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 180, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='version', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]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'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62e020 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]     done sending the query:
[140680060053248]extend_column_bindings: entering ... self=0x62e220, bindings_allocated=0, num_columns=1
[140680060053248]exit extend_column_bindings=0x62bd10
[140680060053248]SC_set_Result(62e150, 62e020)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]PGAPI_Fetch: stmt = 0x62e150, stmt->result= 0x62e020
[140680060053248]fetch_cursor=0, 0x62e020->total_read=1
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]extend_getdata_info: entering ... self=0x62e380, gdata_allocated=0, num_columns=1
[140680060053248]exit extend_gdata_info=0x62bd40
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e220, opts->bindings = 0x62bd10, buffer[] = (nil)
[140680060053248]PGAPI_GetData: enter, stmt=0x62e150 icol=1
[140680060053248]     num_rows = 1
[140680060053248]     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'
[140680060053248]**** 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'
[140680060053248]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
[140680060053248]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'
[140680060053248]    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'
[140680060053248]STATEMENT WARNING: func=PGAPI_GetData, desc='', errnum=-2, errmsg='The buffer was too small for the GetData.'
[140680060053248]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'
[140680060053248]Extracted PostgreSQL version number: '9.3'
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e150, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e150)[140680060053248]SC_Destructor: self=0x62e150, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]reset_a_column_binding: entering ... self=0x62e220, bindings_allocated=1, icol=1
[140680060053248]APD_free_params:  ENTER, self=0x62e2d8
[140680060053248]IPD_free_params:  ENTER, self=0x62e338
[140680060053248]PDATA_free_params:  ENTER, self=0x62e3e0
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_setenv: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e020
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e020
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62e020, statement='set DateStyle to 'ISO''
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO''
[140680060053248]   stmt_with_params = 'set DateStyle to 'ISO''
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='set DateStyle to 'ISO''
[140680060053248]send_query: done sending query 24bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 6, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - SET
[140680060053248]send_query: setting cmdbuffer = 'SET'
[140680060053248]send_query: returning res = 0x62e3a0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62e3a0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]CC_setenv: result 0, status 1 from set DateStyle
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62e020, statement='set extra_float_digits to 2'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=27, stmt='set extra_float_digits to 2'
[140680060053248]   stmt_with_params = 'set extra_float_digits to 2'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='set extra_float_digits to 2'
[140680060053248]send_query: done sending query 29bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 6, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - SET
[140680060053248]send_query: setting cmdbuffer = 'SET'
[140680060053248]send_query: returning res = 0x62e3a0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62e3a0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]CC_setenv: result 0, status 1 from set extra_float_digits
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]SC_Destructor: self=0x62e020, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]APD_free_params:  ENTER, self=0x62e1a8
[140680060053248]IPD_free_params:  ENTER, self=0x62e208
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_send_settings: entering...
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e020
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e020
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]SC_Destructor: self=0x62e020, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]APD_free_params:  ENTER, self=0x62e1a8
[140680060053248]IPD_free_params:  ENTER, self=0x62e208
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]SC_Destructor: EXIT
[140680060053248]CC_lookup_lo: entering...
[140680060053248]CC_send_query: conn=0x625bd0, query='select oid, typbasetype from pg_type where typname = 'lo''
[140680060053248]send_query: done sending query 59bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 57, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 2
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140680060053248]MALLOC: tuple_size = 100, size = 3200
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62e3a0 SELECT 0
[140680060053248]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]_QR_next_tuple: 'C': DONE (fcount == 0)
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]Got the large object oid: -999
[140680060053248]CC_lookup_characterset: entering...
[140680060053248]CC_send_query: conn=0x625bd0, query='select pg_client_encoding()'
[140680060053248]send_query: done sending query 29bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 65, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=9, buffer='SQL_ASCII'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62e3a0 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]conn->unicode=0
[140680060053248]CC_connect: returning...1
[140680060053248]PGAPI_Connect: returning..0.
[140680060053248][SQLGetFunctions][140680060053248][SQLGetInfo(30)][140680060053248]PGAPI_GetInfo: entering...fInfoType=77
[140680060053248]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=20
[140680060053248][SQLGetInfo(30)][140680060053248]PGAPI_GetInfo: entering...fInfoType=10000
[140680060053248]CC_error_statements: self=0x625bd0
[140680060053248]CC_error_statements: self=0x625bd0
[140680060053248]CONN ERROR: func=PGAPI_GetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.'
[140680060053248][[SQLAllocHandle]][140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e020
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e020
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10010
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10010
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10011
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10011
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10012
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10012
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10013
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10013
[140680060053248][SQLExecDirect][140680060053248]PGAPI_ExecDirect: entering...1
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62e020, statement='select tablename from pg_tables where tablename='test''
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=54, stmt='select tablename from pg_tables where tablename='test''
[140680060053248]   stmt_with_params = 'select tablename from pg_tables where tablename='test''
[140680060053248]about to begin SC_execute
[140680060053248]       Sending SELECT statement on stmt=0x62e020, cursor_name='SQL_CUR0x62e020' qflag=0,1
[140680060053248]CC_send_query: conn=0x625bd0, query='select tablename from pg_tables where tablename='test''
[140680060053248]send_query: done sending query 56bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 41, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='tablename', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62e380 SELECT 0
[140680060053248]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]_QR_next_tuple: 'C': DONE (fcount == 0)
[140680060053248]send_query: got id = 'Z'
[140680060053248]     done sending the query:
[140680060053248]extend_column_bindings: entering ... self=0x62e0f0, bindings_allocated=0, num_columns=1
[140680060053248]exit extend_column_bindings=0x62a3c0
[140680060053248]SC_set_Result(62e020, 62e380)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248][[SQLFetch]][140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=0, currtuple=-1, rowst=-1
[140680060053248][[SQLCloseCursor]][140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=0
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248][[SQLFreeHandle]][140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]SC_Destructor: self=0x62e020, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]reset_a_column_binding: entering ... self=0x62e0f0, bindings_allocated=1, icol=1
[140680060053248]APD_free_params:  ENTER, self=0x62e1a8
[140680060053248]IPD_free_params:  ENTER, self=0x62e208
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]SC_Destructor: EXIT
[140680060053248][[SQLAllocHandle]][140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e020
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e020
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10010
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10010
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10011
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10011
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10012
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10012
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10013
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10013
[140680060053248][SQLExecDirect][140680060053248]PGAPI_ExecDirect: entering...1
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62e020, statement='create table test (id integer primary key)'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=42, stmt='create table test (id integer primary key)'
[140680060053248]   stmt_with_params = 'create table test (id integer primary key)'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='create table test (id integer primary key)'
[140680060053248]send_query: done sending query 44bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 15, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - CREATE TABLE
[140680060053248]send_query: setting cmdbuffer = 'CREATE TABLE'
[140680060053248]send_query: returning res = 0x62e380
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62e380)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248][SQLPrepare][140680060053248]PGAPI_Prepare: entering...
[140680060053248]**** PGAPI_Prepare: STMT_FINISHED, recycle
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248][SQLBindParameter][140680060053248]PGAPI_BindParameter: entering...
[140680060053248]extend_parameter_bindings: entering ... self=0x62e1a8, parameters_allocated=0, num_params=1,(nil)
[140680060053248]exit extend_parameter_bindings=0x62e380
[140680060053248]extend_iparameter_bindings: entering ... self=0x62e208, parameters_allocated=0, num_params=1
[140680060053248]exit extend_iparameter_bindings=0x62e3b0
[140680060053248]extend_putdata_info: entering ... self=0x62e2b0, parameters_allocated=0, num_params=1
[140680060053248]exit extend_putdata_info=0x62c250
[140680060053248]PGAPI_BindParameter: ipar=0, paramType=1, fCType=4, fSqlType=4, cbColDef=0, ibScale=0,[140680060053248]rgbValue=0x7fff2e948b7c(0), pcbValue=(nil)
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 1 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 1 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 2 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 2 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 3 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 3 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 4 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 4 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 5 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 5 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 6 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 6 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 7 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 7 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 8 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 8 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 9 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 9 )'
[140680060053248]send_query: done sending query 38bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 10 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 10 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 11 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 11 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 12 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 12 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 13 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 13 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 14 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 14 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 15 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 15 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 16 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 16 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 17 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 17 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 18 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 18 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 19 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 19 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_Execute: recycling statement (should have been done by app)...
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=36, stmt='insert into test ( id ) values ( ? )'
[140680060053248]ResolveOneParam: from(fcType)=4, to(fSqlType)=4(23)
[140680060053248]cvt_null_date_string=0 pgtype=23 buf=(nil)
[140680060053248]   stmt_with_params = 'insert into test ( id ) values ( 20 )'
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x62e020
[140680060053248]CC_send_query: conn=0x625bd0, query='insert into test ( id ) values ( 20 )'
[140680060053248]send_query: done sending query 39bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - INSERT 0 1
[140680060053248]send_query: setting cmdbuffer = 'INSERT 0 1'
[140680060053248]send_query: returning res = 0x62a3c0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(62e020, 62a3c0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][[SQLFreeHandle]][140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]SC_Destructor: self=0x62e020, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]APD_free_params:  ENTER, self=0x62e1a8
[140680060053248]APD_free_params:  EXIT
[140680060053248]IPD_free_params:  ENTER, self=0x62e208
[140680060053248]IPD_free_params:  EXIT
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]PDATA_free_params:  EXIT
[140680060053248]SC_Destructor: EXIT
[140680060053248][[SQLAllocHandle]][140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62e020
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62e020
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10010
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10010
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10011
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10011
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10012
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10012
[140680060053248][[SQLGetStmtAttr]] Handle=6479904 10013
[140680060053248]PGAPI_GetStmtAttr Handle=0x62e020 10013
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 6,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 6,3(0x3)
[140680060053248]PGAPI_SetStmtOption: entering...
[140680060053248]SetStmtOption(): SQL_CURSOR_TYPE = 3 [140680060053248]-> 3
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 7,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 7,3(0x3)
[140680060053248]PGAPI_SetStmtOption: entering...
[140680060053248]SetStmtOption(): SQL_CONCURRENCY = 3 [140680060053248]-> 3
[140680060053248][SQLPrepare][140680060053248]PGAPI_Prepare: entering...
[140680060053248]**** PGAPI_Prepare: STMT_ALLOCATED, copy
[140680060053248][SQLExecute][140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:3
[140680060053248]SC_recycle_statement: self= 0x62e020
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=18, stmt='select * from test'
[140680060053248]parse_the_statement: entering...
[140680060053248]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='select', ptr='* from test'
[140680060053248]SELECT
[140680060053248]got ispunct: s[0] = '*'
[140680060053248]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='*', ptr='from test'
[140680060053248]blevel=0 btoken=select in_dot=0 in_field=0 tbname=<null>
[140680060053248]reallocing at nfld=0
[140680060053248]got field='*', dot='(null)'
[140680060053248]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='from', ptr='test'
[140680060053248]First [140680060053248]FROM
[140680060053248]unquoted=1, quote=0, dquote=0, numeric=0, delim='', token='test', ptr=''
[140680060053248]got table = 'test'
[140680060053248]--------------------------------------------
[140680060053248]nfld=1, ntab=1
[140680060053248]Field 0:  expr=0, func=0, quote=0, dquote=0, numeric=0, name='*', alias='(null)', dot='(null)'
[140680060053248]     ----> table_name='test', table_alias='(null)'
[140680060053248]Table 0: name='test', alias='(null)'
[140680060053248]CC_send_query: conn=0x625bd0, query='select current_schema()'
[140680060053248]send_query: done sending query 25bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 58, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='current_schema', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=6, buffer='public'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62bca0 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]CC_send_query: conn=0x625bd0, query='select nspname from pg_namespace n, pg_class c where c.relnamespace=n.oid and c.oid='"test"'::regclass'
[140680060053248]send_query: done sending query 104bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 51, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 1
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='nspname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=6, buffer='public'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62bca0 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]PARSE: Getting PG_Columns for table 0(test)
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62f110
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62f110
[140680060053248]PGAPI_Columns: entering...stmt=0x62f110 scnm=0x62a400 len=-3
[140680060053248]SC_recycle_statement: self= 0x62f110
[140680060053248]simple in=test(4)
[140680060053248]simple output=test(4)
[140680060053248]simple in=public(6)
[140680060053248]simple output=public(6)
[140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x62f470
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x62f470
[140680060053248]PGAPI_Columns: hcol_stmt = 0x62f470, col_stmt = 0x62f470
[140680060053248]PGAPI_ExecDirect: entering...0
[140680060053248]SC_recycle_statement: self= 0x62f470
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x62f470, 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'
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...0
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x62f470
[140680060053248]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'
[140680060053248]   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'
[140680060053248]about to begin SC_execute
[140680060053248]       Sending SELECT statement on stmt=0x62f470, cursor_name='SQL_CUR0x62f470' qflag=0,1
[140680060053248]CC_send_query: conn=0x625bd0, 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'
[140680060053248]send_query: done sending query 691bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 416, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 16
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='nspname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='relname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='attname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='atttypid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='typname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='attnum', adtid=21, adtsize=2, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='attlen', adtid=21, adtsize=2, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='atttypmod', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='attnotnull', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='relhasrules', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='pg_get_expr', adtid=25, adtsize=-1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='case', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='typtypmod', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='relhasoids', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 16
[140680060053248]MALLOC: tuple_size = 100, size = 25600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=6, buffer='public'
[140680060053248]qresult: len=4, buffer='test'
[140680060053248]qresult: len=2, buffer='id'
[140680060053248]qresult: len=2, buffer='23'
[140680060053248]qresult: len=4, buffer='int4'
[140680060053248]qresult: len=1, buffer='1'
[140680060053248]qresult: len=1, buffer='4'
[140680060053248]qresult: len=2, buffer='-1'
[140680060053248]qresult: len=1, buffer='t'
[140680060053248]qresult: len=1, buffer='f'
[140680060053248]qresult: len=1, buffer='r'
[140680060053248]qresult: len=5, buffer='16548'
[140680060053248]qresult: len=1, buffer='0'
[140680060053248]qresult: len=2, buffer='-1'
[140680060053248]qresult: len=1, buffer='f'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62bde0 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]     done sending the query:
[140680060053248]extend_column_bindings: entering ... self=0x62f540, bindings_allocated=0, num_columns=16
[140680060053248]exit extend_column_bindings=0x637320
[140680060053248]SC_set_Result(62f470, 62bde0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 1
[140680060053248]**** : fCType=1 rgb=0x7fff2e945d40 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=0, num_columns=1
[140680060053248]exit extend_gdata_info=0x6375b0
[140680060053248]       bound buffer[0] = 0x7fff2e945d40
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 2
[140680060053248]**** : fCType=1 rgb=0x7fff2e945cc0 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=1, num_columns=2
[140680060053248]exit extend_gdata_info=0x6375d0
[140680060053248]       bound buffer[1] = 0x7fff2e945cc0
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 3
[140680060053248]**** : fCType=1 rgb=0x7fff2e945c40 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=2, num_columns=3
[140680060053248]exit extend_gdata_info=0x637610
[140680060053248]       bound buffer[2] = 0x7fff2e945c40
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 4
[140680060053248]**** : fCType=-18 rgb=0x7fff2e945bac valusMax=4 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=3, num_columns=4
[140680060053248]exit extend_gdata_info=0x637660
[140680060053248]       bound buffer[3] = 0x7fff2e945bac
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 5
[140680060053248]**** : fCType=1 rgb=0x7fff2e945bc0 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=4, num_columns=5
[140680060053248]exit extend_gdata_info=0x6376d0
[140680060053248]       bound buffer[4] = 0x7fff2e945bc0
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 6
[140680060053248]**** : fCType=5 rgb=0x7fff2e945bbe valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=5, num_columns=6
[140680060053248]exit extend_gdata_info=0x637750
[140680060053248]       bound buffer[5] = 0x7fff2e945bbe
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 8
[140680060053248]**** : fCType=4 rgb=0x7fff2e945bb8 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=6, num_columns=8
[140680060053248]exit extend_gdata_info=0x6377f0
[140680060053248]       bound buffer[7] = 0x7fff2e945bb8
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 9
[140680060053248]**** : fCType=1 rgb=0x7fff2e945b20 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=8, num_columns=9
[140680060053248]exit extend_gdata_info=0x6378c0
[140680060053248]       bound buffer[8] = 0x7fff2e945b20
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 10
[140680060053248]**** : fCType=1 rgb=0x7fff2e945aa0 valusMax=128 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=9, num_columns=10
[140680060053248]exit extend_gdata_info=0x637750
[140680060053248]       bound buffer[9] = 0x7fff2e945aa0
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 11
[140680060053248]**** : fCType=1 rgb=0x7fff2e945a90 valusMax=8 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=10, num_columns=11
[140680060053248]exit extend_gdata_info=0x6375b0
[140680060053248]       bound buffer[10] = 0x7fff2e945a90
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 12
[140680060053248]**** : fCType=4 rgb=0x7fff2e945ba8 valusMax=4 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=11, num_columns=12
[140680060053248]exit extend_gdata_info=0x6376c0
[140680060053248]       bound buffer[11] = 0x7fff2e945ba8
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 14
[140680060053248]**** : fCType=-18 rgb=0x7fff2e945ba4 valusMax=4 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=12, num_columns=14
[140680060053248]exit extend_gdata_info=0x6377f0
[140680060053248]       bound buffer[13] = 0x7fff2e945ba4
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 15
[140680060053248]**** : fCType=4 rgb=0x7fff2e945bb4 valusMax=4 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=14, num_columns=15
[140680060053248]exit extend_gdata_info=0x6375b0
[140680060053248]       bound buffer[14] = 0x7fff2e945bb4
[140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62f470, icol = 16
[140680060053248]**** : fCType=4 rgb=0x7fff2e945bb0 valusMax=4 pcb=(nil)
[140680060053248]extend_getdata_info: entering ... self=0x62f6a0, gdata_allocated=15, num_columns=16
[140680060053248]exit extend_gdata_info=0x637720
[140680060053248]       bound buffer[15] = 0x7fff2e945bb0
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]SC_set_Result(62f110, 6375b0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]extend_column_bindings: entering ... self=0x62f1e0, bindings_allocated=0, num_columns=25
[140680060053248]exit extend_column_bindings=0x6378b0
[140680060053248]in QR_set_num_fields
[140680060053248]exit QR_set_num_fields
[140680060053248]PGAPI_Fetch: stmt = 0x62f470, stmt->result= 0x62bde0
[140680060053248]fetch_cursor=0, 0x62bde0->total_read=1
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=16, lf=0, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945d40
[140680060053248]type = 19, atttypmod = -1
[140680060053248]value = 'public'
[140680060053248]copy_and_convert: field_type = 19, fctype = 1, value = 'public', cbValueMax=128
[140680060053248]DEFAULT: len = 6, ptr = 'public'
[140680060053248]    SQL_C_CHAR, default: len = 6, cbValueMax = 128, rgbValueBindRow = 'public'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=1, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945cc0
[140680060053248]type = 19, atttypmod = -1
[140680060053248]value = 'test'
[140680060053248]copy_and_convert: field_type = 19, fctype = 1, value = 'test', cbValueMax=128
[140680060053248]DEFAULT: len = 4, ptr = 'test'
[140680060053248]    SQL_C_CHAR, default: len = 4, cbValueMax = 128, rgbValueBindRow = 'test'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=2, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945c40
[140680060053248]type = 19, atttypmod = -1
[140680060053248]value = 'id'
[140680060053248]copy_and_convert: field_type = 19, fctype = 1, value = 'id', cbValueMax=128
[140680060053248]DEFAULT: len = 2, ptr = 'id'
[140680060053248]    SQL_C_CHAR, default: len = 2, cbValueMax = 128, rgbValueBindRow = 'id'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=3, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bac
[140680060053248]type = 26, atttypmod = -1
[140680060053248]value = '23'
[140680060053248]copy_and_convert: field_type = 26, fctype = -18, value = '23', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=4, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bc0
[140680060053248]type = 19, atttypmod = -1
[140680060053248]value = 'int4'
[140680060053248]copy_and_convert: field_type = 19, fctype = 1, value = 'int4', cbValueMax=128
[140680060053248]DEFAULT: len = 4, ptr = 'int4'
[140680060053248]    SQL_C_CHAR, default: len = 4, cbValueMax = 128, rgbValueBindRow = 'int4'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=5, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bbe
[140680060053248]type = 21, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 21, fctype = 5, value = '1', cbValueMax=128
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=6, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = (nil)
[140680060053248]fetch: cols=16, lf=7, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bb8
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '-1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '-1', cbValueMax=128
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=8, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945b20
[140680060053248]type = 16, atttypmod = -1
[140680060053248]value = 't'
[140680060053248]copy_and_convert: field_type = 16, fctype = 1, value = 't', cbValueMax=128
[140680060053248]PG_TYPE_BOOL: rgbValueBindRow = '1'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=9, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945aa0
[140680060053248]type = 16, atttypmod = -1
[140680060053248]value = 'f'
[140680060053248]copy_and_convert: field_type = 16, fctype = 1, value = 'f', cbValueMax=128
[140680060053248]PG_TYPE_BOOL: rgbValueBindRow = '0'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=10, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945a90
[140680060053248]type = 18, atttypmod = -1
[140680060053248]value = 'r'
[140680060053248]copy_and_convert: field_type = 18, fctype = 1, value = 'r', cbValueMax=8
[140680060053248]DEFAULT: len = 1, ptr = 'r'
[140680060053248]    SQL_C_CHAR, default: len = 1, cbValueMax = 8, rgbValueBindRow = 'r'
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=11, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945ba8
[140680060053248]type = 26, atttypmod = -1
[140680060053248]value = '16548'
[140680060053248]copy_and_convert: field_type = 26, fctype = 4, value = '16548', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=12, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = (nil)
[140680060053248]fetch: cols=16, lf=13, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945ba4
[140680060053248]type = 26, atttypmod = -1
[140680060053248]value = '0'
[140680060053248]copy_and_convert: field_type = 26, fctype = -18, value = '0', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=14, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bb4
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '-1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '-1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch: cols=16, lf=15, opts = 0x62f540, opts->bindings = 0x637320, buffer[] = 0x7fff2e945bb0
[140680060053248]type = 16, atttypmod = -1
[140680060053248]value = 'f'
[140680060053248]copy_and_convert: field_type = 16, fctype = 4, value = 'f', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]PGAPI_SetPos fOption=0 irow=1 lock=0 currt=0
[140680060053248]num_cols=16 gdatainfo=16
[140680060053248]spos_callback: 0 in
[140680060053248]PGAPI_SetPos returning 0
[140680060053248]PGAPI_GetData: enter, stmt=0x62f470 icol=13
[140680060053248]     num_rows = 1
[140680060053248]     value = '(null)'
[140680060053248]**** PGAPI_GetData: icol = 12, target_type = 1, field_type = 25, value = '(null)'
[140680060053248]copy_and_convert: field_type = 25, fctype = 1, value = '<NULL>', cbValueMax=0
[140680060053248]null_cvt_date_string=0
[140680060053248]PGAPI_Fetch: stmt = 0x62f470, stmt->result= 0x62bde0
[140680060053248]fetch_cursor=0, 0x62bde0->total_read=1
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62f470, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62f470)[140680060053248]SC_Destructor: self=0x62f470, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=1
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=2
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=3
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=4
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=5
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=6
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=7
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=8
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=9
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=10
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=11
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=12
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=13
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=14
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=15
[140680060053248]reset_a_column_binding: entering ... self=0x62f540, bindings_allocated=16, icol=16
[140680060053248]APD_free_params:  ENTER, self=0x62f5f8
[140680060053248]IPD_free_params:  ENTER, self=0x62f658
[140680060053248]PDATA_free_params:  ENTER, self=0x62f700
[140680060053248]SC_Destructor: EXIT
[140680060053248]PGAPI_Columns: EXIT,  stmt=0x62f110
[140680060053248]        Past PG_Columns
[140680060053248]      Success
[140680060053248]PARSE: Allocating col_info at ntables=0
[140680060053248]PARSE: malloc at conn->col_info[0]
[140680060053248]SC_init_Result(62f110)[140680060053248]Created col_info table='test', ntables=1
[140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62f110, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]SC_init_Result(62f110)[140680060053248]SC_Destructor: self=0x62f110, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=1
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=2
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=3
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=4
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=5
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=6
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=7
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=8
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=9
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=10
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=11
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=12
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=13
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=14
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=15
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=16
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=17
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=18
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=19
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=20
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=21
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=22
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=23
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=24
[140680060053248]reset_a_column_binding: entering ... self=0x62f1e0, bindings_allocated=25, icol=25
[140680060053248]APD_free_params:  ENTER, self=0x62f298
[140680060053248]IPD_free_params:  ENTER, self=0x62f2f8
[140680060053248]PDATA_free_params:  ENTER, self=0x62f3a0
[140680060053248]SC_Destructor: EXIT
[140680060053248]Done PG_Columns
[140680060053248]expanding field 0
[140680060053248]k=0, increased_cols=0, allocated_size=32, new_size=1
[140680060053248]done copying fields
[140680060053248]irdflds->nfields now at 1
[140680060053248]creating field info: n=0
[140680060053248]about to copy at 0
[140680060053248]done copying
[140680060053248]i now at 1
[140680060053248]CC_send_query: conn=0x625bd0, query='select relhasoids, c.oid from pg_class c, pg_namespace n where relname = 'test' and nspname = 'public' and c.relnamespace = n.oid'
[140680060053248]send_query: done sending query 131bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 72, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 2
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='relhasoids', adtid=16, adtsize=1, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140680060053248]MALLOC: tuple_size = 100, size = 3200
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=1, buffer='f'
[140680060053248]qresult: len=5, buffer='16548'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x637320 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]CC_send_query: conn=0x625bd0, query='select a.attname, a.atttypid from pg_index i, pg_attribute a where indrelid=16548 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)'
[140680060053248]send_query: done sending query 248bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 72, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 2
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='attname', adtid=19, adtsize=64, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='atttypid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140680060053248]MALLOC: tuple_size = 100, size = 3200
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=2, buffer='id'
[140680060053248]qresult: len=2, buffer='23'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x637320 SELECT 1
[140680060053248]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]done parse_the_statement: parse=1, parse_status=1
[140680060053248]   stmt_with_params = 'select * , "ctid", "id" from test'
[140680060053248]about to begin SC_execute
[140680060053248]       Sending SELECT statement on stmt=0x62e020, cursor_name='SQL_CUR0x62e020' qflag=2,3
[140680060053248]CC_send_query: conn=0x625bd0, query='select * , "ctid", "id" from test'
[140680060053248]send_query: done sending query 35bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 516, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'P'
[140680060053248]send_query: got id = 'T'
[140680060053248]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140680060053248]num_fields = 3
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='id', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='ctid', adtid=27, adtsize=6, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]READING ATTTYPMOD
[140680060053248]CI_read_fields: fieldname='id', adtid=23, adtsize=4, atttypmod=-1 (rel,att)=(0,0)
[140680060053248]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140680060053248]MALLOC: tuple_size = 100, size = 1600
[140680060053248]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140680060053248]qresult: len=1, buffer='1'
[140680060053248]qresult: len=5, buffer='(0,1)'
[140680060053248]qresult: len=1, buffer='1'
[140680060053248]qresult: len=1, buffer='2'
[140680060053248]qresult: len=5, buffer='(0,2)'
[140680060053248]qresult: len=1, buffer='2'
[140680060053248]qresult: len=1, buffer='3'
[140680060053248]qresult: len=5, buffer='(0,3)'
[140680060053248]qresult: len=1, buffer='3'
[140680060053248]qresult: len=1, buffer='4'
[140680060053248]qresult: len=5, buffer='(0,4)'
[140680060053248]qresult: len=1, buffer='4'
[140680060053248]qresult: len=1, buffer='5'
[140680060053248]qresult: len=5, buffer='(0,5)'
[140680060053248]qresult: len=1, buffer='5'
[140680060053248]qresult: len=1, buffer='6'
[140680060053248]qresult: len=5, buffer='(0,6)'
[140680060053248]qresult: len=1, buffer='6'
[140680060053248]qresult: len=1, buffer='7'
[140680060053248]qresult: len=5, buffer='(0,7)'
[140680060053248]qresult: len=1, buffer='7'
[140680060053248]qresult: len=1, buffer='8'
[140680060053248]qresult: len=5, buffer='(0,8)'
[140680060053248]qresult: len=1, buffer='8'
[140680060053248]qresult: len=1, buffer='9'
[140680060053248]qresult: len=5, buffer='(0,9)'
[140680060053248]qresult: len=1, buffer='9'
[140680060053248]qresult: len=2, buffer='10'
[140680060053248]qresult: len=6, buffer='(0,10)'
[140680060053248]qresult: len=2, buffer='10'
[140680060053248]qresult: len=2, buffer='11'
[140680060053248]qresult: len=6, buffer='(0,11)'
[140680060053248]qresult: len=2, buffer='11'
[140680060053248]qresult: len=2, buffer='12'
[140680060053248]qresult: len=6, buffer='(0,12)'
[140680060053248]qresult: len=2, buffer='12'
[140680060053248]qresult: len=2, buffer='13'
[140680060053248]qresult: len=6, buffer='(0,13)'
[140680060053248]qresult: len=2, buffer='13'
[140680060053248]qresult: len=2, buffer='14'
[140680060053248]qresult: len=6, buffer='(0,14)'
[140680060053248]qresult: len=2, buffer='14'
[140680060053248]qresult: len=2, buffer='15'
[140680060053248]qresult: len=6, buffer='(0,15)'
[140680060053248]qresult: len=2, buffer='15'
[140680060053248]qresult: len=2, buffer='16'
[140680060053248]qresult: len=6, buffer='(0,16)'
[140680060053248]qresult: len=2, buffer='16'
[140680060053248]qresult: len=2, buffer='17'
[140680060053248]qresult: len=6, buffer='(0,17)'
[140680060053248]qresult: len=2, buffer='17'
[140680060053248]qresult: len=2, buffer='18'
[140680060053248]qresult: len=6, buffer='(0,18)'
[140680060053248]qresult: len=2, buffer='18'
[140680060053248]qresult: len=2, buffer='19'
[140680060053248]qresult: len=6, buffer='(0,19)'
[140680060053248]qresult: len=2, buffer='19'
[140680060053248]qresult: len=2, buffer='20'
[140680060053248]qresult: len=6, buffer='(0,20)'
[140680060053248]qresult: len=2, buffer='20'
[140680060053248]end of tuple list -- setting inUse to false: this = 0x62bca0 SELECT 20
[140680060053248]_QR_next_tuple: 'C' fetch_total = 20 & this_fetch = 20
[140680060053248]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140680060053248]QR_next_tuple: reached eof now
[140680060053248]send_query: got id = 'Z'
[140680060053248]     done sending the query:
[140680060053248]extend_column_bindings: entering ... self=0x62e0f0, bindings_allocated=0, num_columns=3
[140680060053248]exit extend_column_bindings=0x637520
[140680060053248]SC_set_Result(62e020, 62bca0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 26,781486996
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 26,781486996(0x7fff2e948b94)
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 25,781486976
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 25,781486976(0x7fff2e948b80)
[140680060053248][SQLBindCol][140680060053248]PGAPI_BindCol: entering...
[140680060053248]**** PGAPI_BindCol: stmt = 0x62e020, icol = 1
[140680060053248]**** : fCType=4 rgb=0x7fff2e948b70 valusMax=4 pcb=0x7fff2e948b60
[140680060053248]extend_getdata_info: entering ... self=0x62e250, gdata_allocated=0, num_columns=1
[140680060053248]exit extend_gdata_info=0x630770
[140680060053248]       bound buffer[0] = 0x7fff2e948b70
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=-1, rowst=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]CC_send_query: conn=0x625bd0, query='PREPARE "_KEYSET_0x62bca0"(tid,tid) as select * , "ctid", "id" from test where ctid in ($1,$2)'
[140680060053248]send_query: done sending query 96bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 10, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - PREPARE
[140680060053248]send_query: setting cmdbuffer = 'PREPARE'
[140680060053248]send_query: returning res = 0x630800
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]extend_getdata_info: entering ... self=0x62e250, gdata_allocated=1, num_columns=3
[140680060053248]exit extend_gdata_info=0x630790
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=0, rowst=0
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=1, rowst=1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=2, rowst=2
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 2
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '4'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '4', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=3, rowst=3
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 3
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '5'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=4, rowst=4
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 4
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '6'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '6', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=5, rowst=5
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 5
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '7'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '7', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=6, rowst=6
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 6
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '8'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '8', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=7, rowst=7
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 7
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '9'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '9', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=8, rowst=8
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 8
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '10'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=9, rowst=9
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 9
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '11'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '11', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=10, rowst=10
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 10
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '12'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '12', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=11, rowst=11
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 11
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '13'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '13', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=12, rowst=12
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 12
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '14'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '14', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=13, rowst=13
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 13
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '15'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=14, rowst=14
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 14
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '16'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '16', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=15, rowst=15
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 15
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '17'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '17', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=16, rowst=16
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=17, rowst=17
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 17
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=18, rowst=18
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 18
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=19, rowst=19
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 27,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 27,3(0x3)
[140680060053248][[SQLFetchScroll]] 2,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_FIRST: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=0
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=-1, rowst=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=0, rowst=0
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 2
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '4'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '4', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '5'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '6'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '6', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=3, rowst=3
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 5
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '7'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '7', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '8'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '8', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '9'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '9', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=6, rowst=6
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 8
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '10'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '11'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '11', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '12'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '12', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=9, rowst=9
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 11
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '13'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '13', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '14'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '14', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '15'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=12, rowst=12
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 14
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '16'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '16', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '17'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '17', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=15, rowst=15
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 17
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 27,1
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 27,1(0x1)
[140680060053248][[SQLFetchScroll]] 3,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_LAST: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 18
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=19, rowst=19
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 18
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=19
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 17
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=18
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=17
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 15
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '17'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '17', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=16
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 14
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '16'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '16', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=15
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 13
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '15'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=14
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 12
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '14'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '14', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=13
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 11
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '13'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '13', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=12
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 10
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '12'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '12', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=11
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 9
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '11'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '11', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=10
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 8
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '10'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=9
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 7
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '9'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '9', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=8
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 6
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '8'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '8', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=7
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 5
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '7'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '7', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=6
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 4
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '6'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '6', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=5
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 3
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '5'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=4
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 2
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '4'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '4', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=3
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=2
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=1
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=0
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 27,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 27,3(0x3)
[140680060053248][[SQLFetchScroll]] 3,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_LAST: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 1,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_NEXT: num_tuples=20, currtuple=17, rowst=17
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=17
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 13
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '15'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '16'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '16', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '17'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '17', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=14
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 10
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '12'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '12', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '13'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '13', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '14'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '14', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=11
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 7
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '9'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '9', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '10'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '11'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '11', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=8
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 4
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '6'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '6', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '7'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '7', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '8'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '8', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=5
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '4'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '4', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '5'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=2
[140680060053248]STATEMENT WARNING: func=PGAPI_ExtendedFetch, desc='', errnum=-3, errmsg='fetch prior and before the beggining'
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]SQLFetchScroll return = 1
[140680060053248][[SQLGetDiagRec]]
[140680060053248]PGAPI_GetDiagRec entering type=3 rec=1
[140680060053248]ER_ReturnError: status = -3, msg = #fetch prior and before the beggining#
[140680060053248]	     szSqlState = '01S06',len=36, szError='fetch prior and before the beggining'
[140680060053248]PGAPI_GetDiagRec exiting 0
[140680060053248][[SQLGetDiagRec]]
[140680060053248]PGAPI_GetDiagRec entering type=3 rec=2
[140680060053248]ER_ReturnError: status = -3, msg = #fetch prior and before the beggining#
[140680060053248]PGAPI_GetDiagRec exiting 100
[140680060053248][[SQLFetchScroll]] 4,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_PRIOR: num_tuples=20, currtuple=0
[140680060053248]SQLFetchScroll return = 100
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 27,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 27,3(0x3)
[140680060053248][[SQLFetchScroll]] 2,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_FIRST: num_tuples=20, currtuple=-1
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 2,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_FIRST: num_tuples=20, currtuple=0
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = -1
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '1'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '2'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '2', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '3'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '3', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLSetStmtAttr]] Handle=0x62e020 27,3
[140680060053248]PGAPI_SetStmtAttr Handle=0x62e020 27,3(0x3)
[140680060053248][[SQLFetchScroll]] 3,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_LAST: num_tuples=20, currtuple=0
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLFetchScroll]] 3,0
[140680060053248]PGAPI_ExtendedFetch: stmt=0x62e020 rowsetSize=3
[140680060053248]SQL_FETCH_LAST: num_tuples=20, currtuple=17
[140680060053248]SC_pos_reload_needed
[140680060053248]PGAPI_ExtendedFetch: new currTuple = 16
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '18'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '18', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '19'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248]fetch_cursor=0, 0x62bca0->total_read=20
[140680060053248]**** SC_fetch: non-cursor_result
[140680060053248]fetch: cols=1, lf=0, opts = 0x62e0f0, opts->bindings = 0x637520, buffer[] = 0x7fff2e948b70
[140680060053248]type = 23, atttypmod = -1
[140680060053248]value = '20'
[140680060053248]copy_and_convert: field_type = 23, fctype = 4, value = '20', cbValueMax=4
[140680060053248]copy_and_convert: retval = 0
[140680060053248][[SQLAllocHandle]][140680060053248]PGAPI_AllocStmt: entering...
[140680060053248]**** PGAPI_AllocStmt: hdbc = 0x625bd0, stmt = 0x630e50
[140680060053248]CC_add_statement: self=0x625bd0, stmt=0x630e50
[140680060053248][[SQLGetStmtAttr]] Handle=6491728 10010
[140680060053248]PGAPI_GetStmtAttr Handle=0x630e50 10010
[140680060053248][[SQLGetStmtAttr]] Handle=6491728 10011
[140680060053248]PGAPI_GetStmtAttr Handle=0x630e50 10011
[140680060053248][[SQLGetStmtAttr]] Handle=6491728 10012
[140680060053248]PGAPI_GetStmtAttr Handle=0x630e50 10012
[140680060053248][[SQLGetStmtAttr]] Handle=6491728 10013
[140680060053248]PGAPI_GetStmtAttr Handle=0x630e50 10013
[140680060053248][SQLExecDirect][140680060053248]PGAPI_ExecDirect: entering...1
[140680060053248]SC_recycle_statement: self= 0x630e50
[140680060053248]**** PGAPI_ExecDirect: hstmt=0x630e50, statement='drop table test           '
[140680060053248]PGAPI_ExecDirect: calling PGAPI_Execute...
[140680060053248]PGAPI_Execute: entering...1
[140680060053248]PGAPI_Execute: clear errors...
[140680060053248]PGAPI_NumParams: entering...
[140680060053248]SC_scanQueryAndCountParams: entering...
[140680060053248]prepareParameters was not called, prepare state:2
[140680060053248]SC_recycle_statement: self= 0x630e50
[140680060053248]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=26, stmt='drop table test           '
[140680060053248]   stmt_with_params = 'drop table test           '
[140680060053248]about to begin SC_execute
[140680060053248]      it's NOT a select statement: stmt=0x630e50
[140680060053248]CC_send_query: conn=0x625bd0, query='drop table test           '
[140680060053248]send_query: done sending query 28bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - DROP TABLE
[140680060053248]send_query: setting cmdbuffer = 'DROP TABLE'
[140680060053248]send_query: returning res = 0x6339e0
[140680060053248]send_query: got id = 'Z'
[140680060053248]SC_set_Result(630e50, 6339e0)[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]retval=0
[140680060053248]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140680060053248][[SQLFreeHandle]][140680060053248]PGAPI_FreeStmt: entering...hstmt=0x630e50, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(630e50)[140680060053248]SC_Destructor: self=0x630e50, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]APD_free_params:  ENTER, self=0x630fd8
[140680060053248]IPD_free_params:  ENTER, self=0x631038
[140680060053248]PDATA_free_params:  ENTER, self=0x6310e0
[140680060053248]SC_Destructor: EXIT
[140680060053248][[SQLFreeHandle]][140680060053248]PGAPI_FreeStmt: entering...hstmt=0x62e020, fOption=1
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=20
[140680060053248]CC_send_query: conn=0x625bd0, query='DEALLOCATE "_KEYSET_0x62bca0"'
[140680060053248]send_query: done sending query 31bytes flushed
[140680060053248]in QR_Constructor
[140680060053248]exit QR_Constructor
[140680060053248]read -1, global_socket_buffersize=4096
[140680060053248]Lasterror=11
[140680060053248]!!!  poll ret=1 revents=1
[140680060053248]read 13, global_socket_buffersize=4096
[140680060053248]send_query: got id = 'C'
[140680060053248]send_query: ok - 'C' - DEALLOCATE
[140680060053248]send_query: setting cmdbuffer = 'DEALLOCATE'
[140680060053248]send_query: returning res = 0x637720
[140680060053248]send_query: got id = 'Z'
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=0
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]SC_init_Result(62e020)[140680060053248]SC_Destructor: self=0x62e020, self->result=(nil), self->hdbc=0x625bd0
[140680060053248]!!!refcnt 0x62be70:1 -> 0
[140680060053248]QResult: enter DESTRUCTOR
[140680060053248]QResult: in QR_close_result
[140680060053248]QResult: free memory in, fcount=1
[140680060053248]QResult: free memory out
[140680060053248]QResult: exit close_result
[140680060053248]QResult: exit DESTRUCTOR
[140680060053248]reset_a_column_binding: entering ... self=0x62e0f0, bindings_allocated=3, icol=1
[140680060053248]reset_a_column_binding: entering ... self=0x62e0f0, bindings_allocated=3, icol=2
[140680060053248]reset_a_column_binding: entering ... self=0x62e0f0, bindings_allocated=3, icol=3
[140680060053248]APD_free_params:  ENTER, self=0x62e1a8
[140680060053248]IPD_free_params:  ENTER, self=0x62e208
[140680060053248]PDATA_free_params:  ENTER, self=0x62e2b0
[140680060053248]SC_Destructor: EXIT
[140680060053248][SQLDisconnect for 0x625bd0][140680060053248]PGAPI_Disconnect: entering...
