CC_connect: entering... CC_connect(): DSN = 'PostgreSQL', server = '10.100.10.100', port = '5432', database = 'timetrack', username = 'time', password='tmtr23' connecting to the server socket... connection to the server socket succeeded. sizeof startup packet = 292 sent the authentication block. sent the authentication block successfully. gonna do authentication read 5, global_socket_buffersize=4096 auth got 'R' areq = 0 read 10, global_socket_buffersize=4096 auth got 'K' auth got 'Z' sending an empty query... send_query(): conn=36389440, query=' ' send_query: done sending query read 3, global_socket_buffersize=4096 send_query: got id = 'I' in QR_Constructor exit QR_Constructor send_query: got id = 'Z' QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR empty query seems to be OK. CC_send_settings: entering... PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37490048 CC_add_statement: self=36389440, stmt=37490048 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='set DateStyle to 'ISO'' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=22, stmt='set DateStyle to 'ISO'' stmt_with_params = 'set DateStyle to 'ISO'' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='set DateStyle to 'ISO'' send_query: done sending query read 15, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - SET VARIABLE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'SET VARIABLE' send_query: returning res = 37488736 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute CC_send_settings: result 0, status 1 from set DateStyle PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='set geqo to 'OFF'' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: recycling statement (should have been done by app)... recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 PGAPI_Execute: copying statement params: trans_status=1, len=17, stmt='set geqo to 'OFF'' stmt_with_params = 'set geqo to 'OFF'' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='set geqo to 'OFF'' send_query: done sending query read 15, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - SET VARIABLE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'SET VARIABLE' send_query: returning res = 37488736 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute CC_send_settings: result 0, status 1 from set geqo PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='set ksqo to 'ON'' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: recycling statement (should have been done by app)... recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 PGAPI_Execute: copying statement params: trans_status=1, len=16, stmt='set ksqo to 'ON'' stmt_with_params = 'set ksqo to 'ON'' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='set ksqo to 'ON'' send_query: done sending query read 15, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - SET VARIABLE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'SET VARIABLE' send_query: returning res = 37488736 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute CC_send_settings: result 0, status 1 from set ksqo PGAPI_FreeStmt: entering...hstmt=37490048, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37490048, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37490048 SC_Destructor: EXIT CC_lookup_lo: entering... PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37490048 CC_add_statement: self=36389440, stmt=37490048 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='select oid from pg_type where typname='lo'' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=42, stmt='select oid from pg_type where typname='lo'' stmt_with_params = 'select oid from pg_type where typname='lo'' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select oid from pg_type where typname='lo'' send_query: done sending query read 44, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37488672 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 1 READING ATTTYPMOD CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 1 MALLOC: tuple_size = 100, size = 800 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 qresult: len=5, buffer='19959' end of tuple list -- setting inUse to false: this = 37488672 _next_tuple: 'C' fetch_max && fcount = 1 send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=0, num_columns=1 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_Fetch: stmt = 37490048, stmt->result= 37488672 manual_result = 0, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=1, lf=0, self = 37490048, self->bindings = 37487712, buffer[] = 0 PGAPI_GetData: enter, stmt=37490048 num_rows = 1 value = '19959' **** PGAPI_GetData: icol = 0, fCType = -16, field_type = 26, value = '19959' copy_and_convert: field_type = 26, fctype = -16, value = '19959', cbValueMax=4 Got the large object oid: 19959 PGAPI_FreeStmt: entering...hstmt=37490048, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=1 row = 0, num_fields = 1 free [lf=0] 37487760 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37490048, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37490048 SC_Destructor: EXIT CC_lookup_pg_version: entering... PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37490048 CC_add_statement: self=36389440, stmt=37490048 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='select version()' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=16, stmt='select version()' stmt_with_params = 'select version()' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select version()' send_query: done sending query read 102, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37488736 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 1 READING ATTTYPMOD CI_read_fields: fieldname='version', adtid=25, adtsize=-1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 1 MALLOC: tuple_size = 100, size = 800 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 qresult: len=59, buffer='PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' end of tuple list -- setting inUse to false: this = 37488736 _next_tuple: 'C' fetch_max && fcount = 1 send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=0, num_columns=1 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_Fetch: stmt = 37490048, stmt->result= 37488736 manual_result = 0, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=1, lf=0, self = 37490048, self->bindings = 37487680, buffer[] = 0 PGAPI_GetData: enter, stmt=37490048 num_rows = 1 value = 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' **** PGAPI_GetData: icol = 0, fCType = 1, field_type = 25, value = 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' copy_and_convert: field_type = 25, fctype = 1, value = 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96', cbValueMax=128 DEFAULT: len = 59, ptr = 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' SQL_C_CHAR, default: len = 59, cbValueMax = 128, rgbValueBindRow = 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' Got the PostgreSQL version string: 'PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96' Extracted PostgreSQL version number: '7.1' PGAPI_FreeStmt: entering...hstmt=37490048, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=1 row = 0, num_fields = 1 free [lf=0] 37487728 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37490048, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37490048 SC_Destructor: EXIT CC_connect: returning... szConnStrOut = 'DSN=PostgreSQL;DATABASE=timetrack;SERVER=10.100.10.100;PORT=5432;UID=time;PWD=tmtr23;READONLY=0;PROTOCOL=6.4;FAKEOIDINDEX=0;SHOWOIDCOLUMN=0;ROWVERSIONING=0;SHOWSYSTEMTABLES=0;CONNSETTINGS=;FETCH=100;SOCKET=4096;UNKNOWNSIZES=0;MAXVARCHARSIZE=254;MAXLONGVARCHARSIZE=8190;DEBUG=1;COMMLOG=1;OPTIMIZER=1;KSQO=1;USEDECLAREFETCH=0;TEXTASLONGVARCHAR=1;UNKNOWNSASLONGVARCHAR=0;BOOLSASCHAR=1;PARSE=0;CANCELASFREESTMT=0;EXTRASYSTABLEPREFIXES=dd_;' len=435,1300 PGAPI_DRiverConnect: returning 0 [SQLError]**** PGAPI_Error: henv=0, hdbc=36389440, hstmt=0 <512> calling CC_get_error enter CC_get_error enter CC_create_errormsg msg = '' exit CC_create_errormsg exit CC_get_error CC_Get_error returned nothing. [SQLGetFunctions]PGAPI_GetFunctions: entering...0 [SQLGetInfo]PGAPI_GetInfo: entering...fInfoType=23 PGAPI_GetInfo: p='', len=2, value=1, cbMax=2 [SQLGetInfo]PGAPI_GetInfo: entering...fInfoType=24 PGAPI_GetInfo: p='', len=2, value=1, cbMax=2 [SQLGetInfo]PGAPI_GetInfo: entering...fInfoType=17 PGAPI_GetInfo: p='PostgreSQL', len=0, value=0, cbMax=600 [SQLGetInfo]PGAPI_GetInfo: entering...fInfoType=17 PGAPI_GetInfo: p='PostgreSQL', len=0, value=0, cbMax=600 [SQLSetConnectionOption]PGAPI_SetConnectOption: entering fOption = 102 vParam = 1 PGAPI_SetConnectOption: AUTOCOMMIT: transact_status=1, vparam=1 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37490048 CC_add_statement: self=36389440, stmt=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 1 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37488592 CC_add_statement: self=36389440, stmt=37488592 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37488352 CC_add_statement: self=36389440, stmt=37488352 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37488112 CC_add_statement: self=36389440, stmt=37488112 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37487872 CC_add_statement: self=36389440, stmt=37487872 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37487632 CC_add_statement: self=36389440, stmt=37487632 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37487392 CC_add_statement: self=36389440, stmt=37487392 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37487152 CC_add_statement: self=36389440, stmt=37487152 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37486912 CC_add_statement: self=36389440, stmt=37486912 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37486672 CC_add_statement: self=36389440, stmt=37486672 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37494544 CC_add_statement: self=36389440, stmt=37494544 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37494304 CC_add_statement: self=36389440, stmt=37494304 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37494064 CC_add_statement: self=36389440, stmt=37494064 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37493824 CC_add_statement: self=36389440, stmt=37493824 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37493584 CC_add_statement: self=36389440, stmt=37493584 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37493344 CC_add_statement: self=36389440, stmt=37493344 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37493104 CC_add_statement: self=36389440, stmt=37493104 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37492720 CC_add_statement: self=36389440, stmt=37492720 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37492480 CC_add_statement: self=36389440, stmt=37492480 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37492240 CC_add_statement: self=36389440, stmt=37492240 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37492000 CC_add_statement: self=36389440, stmt=37492000 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37491760 CC_add_statement: self=36389440, stmt=37491760 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37491520 CC_add_statement: self=36389440, stmt=37491520 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37491280 CC_add_statement: self=36389440, stmt=37491280 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37491040 CC_add_statement: self=36389440, stmt=37491040 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37490800 CC_add_statement: self=36389440, stmt=37490800 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37498640 CC_add_statement: self=36389440, stmt=37498640 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37498400 CC_add_statement: self=36389440, stmt=37498400 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37498160 CC_add_statement: self=36389440, stmt=37498160 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37497920 CC_add_statement: self=36389440, stmt=37497920 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37497680 CC_add_statement: self=36389440, stmt=37497680 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37497440 CC_add_statement: self=36389440, stmt=37497440 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37497200 CC_add_statement: self=36389440, stmt=37497200 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37496752 CC_add_statement: self=36389440, stmt=37496752 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37496512 CC_add_statement: self=36389440, stmt=37496512 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37496272 CC_add_statement: self=36389440, stmt=37496272 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_ROWSET_SIZE, vParam = 50 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... [SQLGetTypeInfo]PGAPI_GetTypeInfo: entering...fSqlType = 0 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=0, num_columns=15 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields getCharPrecision: type=1042, col=-1, unknown = -1 getCharPrecision: type=1042, col=-1, unknown = -1 getNumericPrecision: type=1700, col=-1 getNumericPrecision: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getCharPrecision: type=25, col=-1, unknown = -1 getCharPrecision: type=25, col=-1, unknown = -1 getNumericPrecision: type=1700, col=-1 getNumericPrecision: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getNumericScale: type=1700, col=-1 getTimestampPrecision: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getTimestampPrecision: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getTimestampScale: type=1184, col=-1 getCharPrecision: type=17, col=-1, unknown = -1 getCharPrecision: type=17, col=-1, unknown = -1 getCharPrecision: type=1043, col=-1, unknown = -1 getCharPrecision: type=1043, col=-1, unknown = -1 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=4f0bc8 valusMax=40 pcb=626328 bound buffer[0] = 5180360 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 2 **** : fCType=5 rgb=4f0a9c valusMax=2 pcb=626328 bound buffer[1] = 5180060 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=4 rgb=4f0b00 valusMax=4 pcb=626328 bound buffer[2] = 5180160 [SQLExtendedFetch]PGAPI_ExtendedFetch: stmt=37490048 SQL_FETCH_NEXT: num_tuples=18, currtuple=-1 PGAPI_ExtendedFetch: new currTuple = -1 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'int8' copy_and_convert: field_type = 25, fctype = 1, value = 'int8', cbValueMax=40 DEFAULT: len = 4, ptr = 'int8' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'int8' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-5' copy_and_convert: field_type = 21, fctype = 5, value = '-5', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '19' copy_and_convert: field_type = 23, fctype = 4, value = '19', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'char' copy_and_convert: field_type = 25, fctype = 1, value = 'char', cbValueMax=40 DEFAULT: len = 4, ptr = 'char' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'char' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-7' copy_and_convert: field_type = 21, fctype = 5, value = '-7', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '1' copy_and_convert: field_type = 23, fctype = 4, value = '1', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'char' copy_and_convert: field_type = 25, fctype = 1, value = 'char', cbValueMax=40 DEFAULT: len = 4, ptr = 'char' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'char' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '1' copy_and_convert: field_type = 21, fctype = 5, value = '1', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '254' copy_and_convert: field_type = 23, fctype = 4, value = '254', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'date' copy_and_convert: field_type = 25, fctype = 1, value = 'date', cbValueMax=40 DEFAULT: len = 4, ptr = 'date' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'date' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '9' copy_and_convert: field_type = 21, fctype = 5, value = '9', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '10' copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'numeric' copy_and_convert: field_type = 25, fctype = 1, value = 'numeric', cbValueMax=40 DEFAULT: len = 7, ptr = 'numeric' SQL_C_CHAR, default: len = 7, cbValueMax = 40, rgbValueBindRow = 'numeric' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '3' copy_and_convert: field_type = 21, fctype = 5, value = '3', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '1000' copy_and_convert: field_type = 23, fctype = 4, value = '1000', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'float8' copy_and_convert: field_type = 25, fctype = 1, value = 'float8', cbValueMax=40 DEFAULT: len = 6, ptr = 'float8' SQL_C_CHAR, default: len = 6, cbValueMax = 40, rgbValueBindRow = 'float8' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '8' copy_and_convert: field_type = 21, fctype = 5, value = '8', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '15' copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'float8' copy_and_convert: field_type = 25, fctype = 1, value = 'float8', cbValueMax=40 DEFAULT: len = 6, ptr = 'float8' SQL_C_CHAR, default: len = 6, cbValueMax = 40, rgbValueBindRow = 'float8' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '6' copy_and_convert: field_type = 21, fctype = 5, value = '6', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '15' copy_and_convert: field_type = 23, fctype = 4, value = '15', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'int4' copy_and_convert: field_type = 25, fctype = 1, value = 'int4', cbValueMax=40 DEFAULT: len = 4, ptr = 'int4' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'int4' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '4' copy_and_convert: field_type = 21, fctype = 5, value = '4', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '10' copy_and_convert: field_type = 23, fctype = 4, value = '10', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'lo' copy_and_convert: field_type = 25, fctype = 1, value = 'lo', cbValueMax=40 DEFAULT: len = 2, ptr = 'lo' SQL_C_CHAR, default: len = 2, cbValueMax = 40, rgbValueBindRow = 'lo' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-4' copy_and_convert: field_type = 21, fctype = 5, value = '-4', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '-4' copy_and_convert: field_type = 23, fctype = 4, value = '-4', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'text' copy_and_convert: field_type = 25, fctype = 1, value = 'text', cbValueMax=40 DEFAULT: len = 4, ptr = 'text' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'text' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-1' copy_and_convert: field_type = 21, fctype = 5, value = '-1', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '8190' copy_and_convert: field_type = 23, fctype = 4, value = '8190', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'numeric' copy_and_convert: field_type = 25, fctype = 1, value = 'numeric', cbValueMax=40 DEFAULT: len = 7, ptr = 'numeric' SQL_C_CHAR, default: len = 7, cbValueMax = 40, rgbValueBindRow = 'numeric' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '2' copy_and_convert: field_type = 21, fctype = 5, value = '2', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '1000' copy_and_convert: field_type = 23, fctype = 4, value = '1000', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'float4' copy_and_convert: field_type = 25, fctype = 1, value = 'float4', cbValueMax=40 DEFAULT: len = 6, ptr = 'float4' SQL_C_CHAR, default: len = 6, cbValueMax = 40, rgbValueBindRow = 'float4' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '7' copy_and_convert: field_type = 21, fctype = 5, value = '7', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '7' copy_and_convert: field_type = 23, fctype = 4, value = '7', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'int2' copy_and_convert: field_type = 25, fctype = 1, value = 'int2', cbValueMax=40 DEFAULT: len = 4, ptr = 'int2' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'int2' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '5' copy_and_convert: field_type = 21, fctype = 5, value = '5', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '5' copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'time' copy_and_convert: field_type = 25, fctype = 1, value = 'time', cbValueMax=40 DEFAULT: len = 4, ptr = 'time' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'time' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '10' copy_and_convert: field_type = 21, fctype = 5, value = '10', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '8' copy_and_convert: field_type = 23, fctype = 4, value = '8', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'datetime' copy_and_convert: field_type = 25, fctype = 1, value = 'datetime', cbValueMax=40 DEFAULT: len = 8, ptr = 'datetime' SQL_C_CHAR, default: len = 8, cbValueMax = 40, rgbValueBindRow = 'datetime' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '11' copy_and_convert: field_type = 21, fctype = 5, value = '11', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '22' copy_and_convert: field_type = 23, fctype = 4, value = '22', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'int2' copy_and_convert: field_type = 25, fctype = 1, value = 'int2', cbValueMax=40 DEFAULT: len = 4, ptr = 'int2' SQL_C_CHAR, default: len = 4, cbValueMax = 40, rgbValueBindRow = 'int2' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-6' copy_and_convert: field_type = 21, fctype = 5, value = '-6', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '5' copy_and_convert: field_type = 23, fctype = 4, value = '5', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'bytea' copy_and_convert: field_type = 25, fctype = 1, value = 'bytea', cbValueMax=40 DEFAULT: len = 5, ptr = 'bytea' SQL_C_CHAR, default: len = 5, cbValueMax = 40, rgbValueBindRow = 'bytea' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '-3' copy_and_convert: field_type = 21, fctype = 5, value = '-3', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '254' copy_and_convert: field_type = 23, fctype = 4, value = '254', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=15, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5180360 type = 25 manual_result value = 'varchar' copy_and_convert: field_type = 25, fctype = 1, value = 'varchar', cbValueMax=40 DEFAULT: len = 7, ptr = 'varchar' SQL_C_CHAR, default: len = 7, cbValueMax = 40, rgbValueBindRow = 'varchar' copy_and_convert: retval = 0 fetch: cols=15, lf=1, self = 37490048, self->bindings = 37495952, buffer[] = 5180060 type = 21 manual_result value = '12' copy_and_convert: field_type = 21, fctype = 5, value = '12', cbValueMax=2 copy_and_convert: retval = 0 fetch: cols=15, lf=2, self = 37490048, self->bindings = 37495952, buffer[] = 5180160 type = 23 manual_result value = '254' copy_and_convert: field_type = 23, fctype = 4, value = '254', cbValueMax=4 copy_and_convert: retval = 0 fetch: cols=15, lf=3, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=4, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=5, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=6, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=7, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=8, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=9, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=10, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=11, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=12, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=13, self = 37490048, self->bindings = 37495952, buffer[] = 0 fetch: cols=15, lf=14, self = 37490048, self->bindings = 37495952, buffer[] = 0 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=151, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37490704 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37490704 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6266ac valusMax=128 pcb=0 bound buffer[0] = 6448812 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6269ac valusMax=128 pcb=0 bound buffer[1] = 6449580 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6267ac valusMax=128 pcb=0 bound buffer[2] = 6449068 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37490704 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=1 rgb=628e2c valusMax=260 pcb=628d8c bound buffer[2] = 6458924 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495456 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLAllocStmt]PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_ALLOCATED, copy [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=30575b48 valusMax=259 pcb=30575a40 extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=1 exit extend_bindings bound buffer[0] = 811031368 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=30575a44 valusMax=259 pcb=30575a40 extend_bindings: entering ... stmt=37495712, bindings_allocated=1, num_columns=2 exit extend_bindings bound buffer[1] = 811031108 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=11 rgb=6295b4 valusMax=16 pcb=30575a40 extend_bindings: entering ... stmt=37495712, bindings_allocated=2, num_columns=3 exit extend_bindings bound buffer[2] = 6460852 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=69, stmt='select PROJ_NAME, PROJ_PROP_AUTHOR, PROJ_LAST_SAVED from MSP_PROJECTS' stmt_with_params = 'select PROJ_NAME, PROJ_PROP_AUTHOR, PROJ_LAST_SAVED from MSP_PROJECTS' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select PROJ_NAME, PROJ_PROP_AUTHOR, PROJ_LAST_SAVED from MSP_PROJECTS' send_query: done sending query read 50, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_projects' does not exist in QR_Constructor exit QR_Constructor send_query: got id = 'Z' done sending the query: STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_projects' does not exist' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37495712 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_projects' does not exist# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_projects' does not exist' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37495712 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_PROJECTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=183, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_PROJECTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_PROJECTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_PROJECTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37490704 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37490704 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=62277c valusMax=128 pcb=0 bound buffer[0] = 6432636 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=622a7c valusMax=128 pcb=0 bound buffer[1] = 6433404 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=62287c valusMax=128 pcb=0 bound buffer[2] = 6432892 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37490704 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=624c50 valusMax=40 pcb=624cf0 bound buffer[0] = 6442064 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495424 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create table MSP_PROJECTS ( PROJ_ID int4 , PROJ_NAME varchar ( 255 ) , PROJ_PROP_AUTHOR text , PROJ_OPT_CALC_ACT_COSTS char , PROJ_PROP_CATEGORY text , PROJ_PROP_COMPANY text , PROJ_OPT_CRITICAL_SLACK_LIMIT int4 , PROJ_OPT_CURRENCY_DIGITS int2 , PROJ_OPT_CURRENCY_POSITION int2 , PROJ_OPT_CURRENCY_SYMBOL varchar ( 20 ) , PROJ_OPT_NEW_ARE_EFFORT_DRIVEN char , PROJ_INFO_CURRENT_DATE datetime , PROJ_OPT_DEF_FINISH_TIME datetime , PROJ_OPT_DEF_FIX_COST_ACCRUAL int2 , PROJ_OPT_MINUTES_PER_DAY int4 , PROJ_OPT_MINUTES_PER_WEEK int4 , PROJ_OPT_DEF_OVT_RATE float8 , PROJ_OPT_DEF_STD_RATE float8 , PROJ_OPT_DEF_START_TIME datetime , PROJ_OPT_DEF_TASK_TYPE int2 , PROJ_OPT_DUR_ENTRY_FMT int2 , PROJ_INFO_FINISH_DATE datetime , PROJ_OPT_HONOR_CONSTRAINTS char , PROJ_PROP_KEYWORDS text , PROJ_LAST_SAVED datetime , PROJ_PROP_MANAGER text , PROJ_OPT_MULT_CRITICAL_PATHS char , PROJ_CREATION_DATE datetime , PROJ_POOL_ATTACHED_TO text , PROJ_INFO_CAL_NAME text , PROJ_IS_RES_POOL char , PROJ_INFO_SCHED_FROM int2 , PROJ_OPT_SPLIT_IN_PROGRESS char , PROJ_OPT_SPREAD_ACT_COSTS char , PROJ_OPT_SPREAD_PCT_COMP char , PROJ_INFO_START_DATE datetime , PROJ_INFO_STATUS_DATE datetime , PROJ_PROP_SUBJECT text , PROJ_PROP_TITLE text , PROJ_OPT_TASK_UPDATES_RES char , PROJ_OPT_WORK_ENTRY_FMT int2 , PROJ_OPT_CALC_SUB_AS_SUMMARY char , PROJ_OPT_WEEK_START_DAY int2 , PROJ_OPT_FY_START_MONTH int2 , PROJ_OPT_FY_USE_START_YR char , PROJ_OPT_DAYS_PER_MONTH int2 , PROJ_OPT_NEW_TASK_EST char , PROJ_OPT_SHOW_EST_DUR char , PROJ_OPT_EXPAND_TIMEPHASED char , PROJ_EXT_EDITED_DATE char , PROJ_EXT_EDITED_DUR char , PROJ_EXT_EDITED_NUM char , PROJ_EXT_EDITED_FLAG char , PROJ_EXT_EDITED_CODE char , PROJ_EXT_EDITED_TEXT char , PROJ_EXT_EDITED char , PROJ_DATA_SOURCE varchar ( 128 ) , PROJ_READ_ONLY varchar ( 10 ) , PROJ_READ_WRITE varchar ( 4 ) , PROJ_READ_COUNT varchar ( 10 ) , PROJ_LOCKED varchar ( 4 ) , PROJ_MACHINE_ID varchar ( 100 ) , RESERVED_BINARY_DATA lo ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=2008, stmt='create table MSP_PROJECTS ( PROJ_ID int4 , PROJ_NAME varchar ( 255 ) , PROJ_PROP_AUTHOR text , PROJ_OPT_CALC_ACT_COSTS char , PROJ_PROP_CATEGORY text , PROJ_PROP_COMPANY text , PROJ_OPT_CRITICAL_SLACK_LIMIT int4 , PROJ_OPT_CURRENCY_DIGITS int2 , PROJ_OPT_CURRENCY_POSITION int2 , PROJ_OPT_CURRENCY_SYMBOL varchar ( 20 ) , PROJ_OPT_NEW_ARE_EFFORT_DRIVEN char , PROJ_INFO_CURRENT_DATE datetime , PROJ_OPT_DEF_FINISH_TIME datetime , PROJ_OPT_DEF_FIX_COST_ACCRUAL int2 , PROJ_OPT_MINUTES_PER_DAY int4 , PROJ_OPT_MINUTES_PER_WEEK int4 , PROJ_OPT_DEF_OVT_RATE float8 , PROJ_OPT_DEF_STD_RATE float8 , PROJ_OPT_DEF_START_TIME datetime , PROJ_OPT_DEF_TASK_TYPE int2 , PROJ_OPT_DUR_ENTRY_FMT int2 , PROJ_INFO_FINISH_DATE datetime , PROJ_OPT_HONOR_CONSTRAINTS char , PROJ_PROP_KEYWORDS text , PROJ_LAST_SAVED datetime , PROJ_PROP_MANAGER text , PROJ_OPT_MULT_CRITICAL_PATHS char , PROJ_CREATION_DATE datetime , PROJ_POOL_ATTACHED_TO text , PROJ_INFO_CAL_NAME text , PROJ_IS_RES_POOL char , PROJ_INFO_SCHED_FROM int2 , PROJ_OPT_SPLIT_IN_PROGRESS char , PROJ_OPT_SPREAD_ACT_COSTS char , PROJ_OPT_SPREAD_PCT_COMP char , PROJ_INFO_START_DATE datetime , PROJ_INFO_STATUS_DATE datetime , PROJ_PROP_SUBJECT text , PROJ_PROP_TITLE text , PROJ_OPT_TASK_UPDATES_RES char , PROJ_OPT_WORK_ENTRY_FMT int2 , PROJ_OPT_CALC_SUB_AS_SUMMARY char , PROJ_OPT_WEEK_START_DAY int2 , PROJ_OPT_FY_START_MONTH int2 , PROJ_OPT_FY_USE_START_YR char , PROJ_OPT_DAYS_PER_MONTH int2 , PROJ_OPT_NEW_TASK_EST char , PROJ_OPT_SHOW_EST_DUR char , PROJ_OPT_EXPAND_TIMEPHASED char , PROJ_EXT_EDITED_DATE char , PROJ_EXT_EDITED_DUR char , PROJ_EXT_EDITED_NUM char , PROJ_EXT_EDITED_FLAG char , PROJ_EXT_EDITED_CODE char , PROJ_EXT_EDITED_TEXT char , PROJ_EXT_EDITED char , PROJ_DATA_SOURCE varchar ( 128 ) , PROJ_READ_ONLY varchar ( 10 ) , PROJ_READ_WRITE varchar ( 4 ) , PROJ_READ_COUNT varchar ( 10 ) , PROJ_LOCKED varchar ( 4 ) , PROJ_MACHINE_ID varchar ( 100 ) , RESERVED_BINARY_DATA lo ) ' stmt_with_params = 'create table MSP_PROJECTS ( PROJ_ID int4 , PROJ_NAME varchar ( 255 ) , PROJ_PROP_AUTHOR text , PROJ_OPT_CALC_ACT_COSTS char , PROJ_PROP_CATEGORY text , PROJ_PROP_COMPANY text , PROJ_OPT_CRITICAL_SLACK_LIMIT int4 , PROJ_OPT_CURRENCY_DIGITS int2 , PROJ_OPT_CURRENCY_POSITION int2 , PROJ_OPT_CURRENCY_SYMBOL varchar ( 20 ) , PROJ_OPT_NEW_ARE_EFFORT_DRIVEN char , PROJ_INFO_CURRENT_DATE datetime , PROJ_OPT_DEF_FINISH_TIME datetime , PROJ_OPT_DEF_FIX_COST_ACCRUAL int2 , PROJ_OPT_MINUTES_PER_DAY int4 , PROJ_OPT_MINUTES_PER_WEEK int4 , PROJ_OPT_DEF_OVT_RATE float8 , PROJ_OPT_DEF_STD_RATE float8 , PROJ_OPT_DEF_START_TIME datetime , PROJ_OPT_DEF_TASK_TYPE int2 , PROJ_OPT_DUR_ENTRY_FMT int2 , PROJ_INFO_FINISH_DATE datetime , PROJ_OPT_HONOR_CONSTRAINTS char , PROJ_PROP_KEYWORDS text , PROJ_LAST_SAVED datetime , PROJ_PROP_MANAGER text , PROJ_OPT_MULT_CRITICAL_PATHS char , PROJ_CREATION_DATE datetime , PROJ_POOL_ATTACHED_TO text , PROJ_INFO_CAL_NAME text , PROJ_IS_RES_POOL char , PROJ_INFO_SCHED_FROM int2 , PROJ_OPT_SPLIT_IN_PROGRESS char , PROJ_OPT_SPREAD_ACT_COSTS char , PROJ_OPT_SPREAD_PCT_COMP char , PROJ_INFO_START_DATE datetime , PROJ_INFO_STATUS_DATE datetime , PROJ_PROP_SUBJECT text , PROJ_PROP_TITLE text , PROJ_OPT_TASK_UPDATES_RES char , PROJ_OPT_WORK_ENTRY_FMT int2 , PROJ_OPT_CALC_SUB_AS_SUMMARY char , PROJ_OPT_WEEK_START_DAY int2 , PROJ_OPT_FY_START_MONTH int2 , PROJ_OPT_FY_USE_START_YR char , PROJ_OPT_DAYS_PER_MONTH int2 , PROJ_OPT_NEW_TASK_EST char , PROJ_OPT_SHOW_EST_DUR char , PROJ_OPT_EXPAND_TIMEPHASED char , PROJ_EXT_EDITED_DATE char , PROJ_EXT_EDITED_DUR char , PROJ_EXT_EDITED_NUM char , PROJ_EXT_EDITED_FLAG char , PROJ_EXT_EDITED_CODE char , PROJ_EXT_EDITED_TEXT char , PROJ_EXT_EDITED char , PROJ_DATA_SOURCE varchar ( 128 ) , PROJ_READ_ONLY varchar ( 10 ) , PROJ_READ_WRITE varchar ( 4 ) , PROJ_READ_COUNT varchar ( 10 ) , PROJ_LOCKED varchar ( 4 ) , PROJ_MACHINE_ID varchar ( 100 ) , RESERVED_BINARY_DATA lo ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create table MSP_PROJECTS ( PROJ_ID int4 , PROJ_NAME varchar ( 255 ) , PROJ_PROP_AUTHOR text , PROJ_OPT_CALC_ACT_COSTS char , PROJ_PROP_CATEGORY text , PROJ_PROP_COMPANY text , PROJ_OPT_CRITICAL_SLACK_LIMIT int4 , PROJ_OPT_CURRENCY_DIGITS int2 , PROJ_OPT_CURRENCY_POSITION int2 , PROJ_OPT_CURRENCY_SYMBOL varchar ( 20 ) , PROJ_OPT_NEW_ARE_EFFORT_DRIVEN char , PROJ_INFO_CURRENT_DATE datetime , PROJ_OPT_DEF_FINISH_TIME datetime , PROJ_OPT_DEF_FIX_COST_ACCRUAL int2 , PROJ_OPT_MINUTES_PER_DAY int4 , PROJ_OPT_MINUTES_PER_WEEK int4 , PROJ_OPT_DEF_OVT_RATE float8 , PROJ_OPT_DEF_STD_RATE float8 , PROJ_OPT_DEF_START_TIME datetime , PROJ_OPT_DEF_TASK_TYPE int2 , PROJ_OPT_DUR_ENTRY_FMT int2 , PROJ_INFO_FINISH_DATE datetime , PROJ_OPT_HONOR_CONSTRAINTS char , PROJ_PROP_KEYWORDS text , PROJ_LAST_SAVED datetime , PROJ_PROP_MANAGER text , PROJ_OPT_MULT_CRITICAL_PATHS char , PROJ_CREATION_DATE datetime , PROJ_POOL_ATTACHED_TO text , PROJ_INFO_CAL_NAME text , PROJ_IS_RES_POOL char , PROJ_INFO_SCHED_FROM int2 , PROJ_OPT_SPLIT_IN_PROGRESS char , PROJ_OPT_SPREAD_ACT_COSTS char , PROJ_OPT_SPREAD_PCT_COMP char , PROJ_INFO_START_DATE datetime , PROJ_INFO_STATUS_DATE datetime , PROJ_PROP_SUBJECT text , PROJ_PROP_TITLE text , PROJ_OPT_TASK_UPDATES_RES char , PROJ_OPT_WORK_ENTRY_FMT int2 , PROJ_OPT_CALC_SUB_AS_SUMMARY char , PROJ_OPT_WEEK_START_DAY int2 , PROJ_OPT_FY_START_MONTH int2 , PROJ_OPT_FY_USE_START_YR char , PROJ_OPT_DAYS_PER_MONTH int2 , PROJ_OPT_NEW_TASK_EST char , PROJ_OPT_SHOW_EST_DUR char , PROJ_OPT_EXPAND_TIMEPHASED char , PROJ_EXT_EDITED_DATE char , PROJ_EXT_EDITED_DUR char , PROJ_EXT_EDITED_NUM char , PROJ_EXT_EDITED_FLAG char , PROJ_EXT_EDITED_CODE char , PROJ_EXT_EDITED_TEXT char , PROJ_EXT_EDITED char , PROJ_DATA_SOURCE varchar ( 128 ) , PROJ_READ_ONLY varchar ( 10 ) , PROJ_READ_WRITE varchar ( 4 ) , PROJ_READ_COUNT varchar ( 10 ) , PROJ_LOCKED varchar ( 4 ) , PROJ_MACHINE_ID varchar ( 100 ) , RESERVED_BINARY_DATA lo ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37490704 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create unique index I_MSP_PROJECTS on MSP_PROJECTS (PROJ_ID) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=62, stmt=' create unique index I_MSP_PROJECTS on MSP_PROJECTS (PROJ_ID) ' stmt_with_params = ' create unique index I_MSP_PROJECTS on MSP_PROJECTS (PROJ_ID) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create unique index I_MSP_PROJECTS on MSP_PROJECTS (PROJ_ID) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37490704 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create unique index I_PROJ_NAME on MSP_PROJECTS (PROJ_NAME) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=61, stmt=' create unique index I_PROJ_NAME on MSP_PROJECTS (PROJ_NAME) ' stmt_with_params = ' create unique index I_PROJ_NAME on MSP_PROJECTS (PROJ_NAME) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create unique index I_PROJ_NAME on MSP_PROJECTS (PROJ_NAME) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37490704 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_ROWSET_SIZE, vParam = 1 [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_ALLOCATED, copy [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37488592, icol = 1 **** : fCType=-2 rgb=4c4c14 valusMax=5040 pcb=624fc8 extend_bindings: entering ... stmt=37488592, bindings_allocated=0, num_columns=1 exit extend_bindings bound buffer[0] = 5000212 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=81, stmt=' select RESERVED_BINARY_DATA from MSP_PROJECTS where PROJ_NAME = 'Tam45'' stmt_with_params = ' select RESERVED_BINARY_DATA from MSP_PROJECTS where PROJ_NAME = 'Tam45'' Sending SELECT statement on stmt=37488592, cursor_name='SQL_CUR023C07D0' send_query(): conn=36389440, query=' select RESERVED_BINARY_DATA from MSP_PROJECTS where PROJ_NAME = 'Tam45'' send_query: done sending query read 50, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 1 READING ATTTYPMOD CI_read_fields: fieldname='reserved_binary_data', adtid=19959, adtsize=4, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 1 MALLOC: tuple_size = 100, size = 800 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37488592, bindings_allocated=1, num_columns=1 exit extend_bindings [SQLFetch]PGAPI_Fetch: stmt = 37488592, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37488592, fOption=0 recycle statement: self= 37488592 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37488592 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37488592, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37488592, fOption=3 SC_free_params: ENTER, self=37488592 [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_READY, change SQL [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=4f0a9c valusMax=200 pcb=62451c bound buffer[0] = 5180060 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 2 **** : fCType=1 rgb=4f0b65 valusMax=200 pcb=62451c bound buffer[1] = 5180261 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=1 rgb=4f0c2e valusMax=200 pcb=62451c bound buffer[2] = 5180462 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 4 **** : fCType=1 rgb=4f0cf7 valusMax=200 pcb=62451c bound buffer[3] = 5180663 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 5 **** : fCType=1 rgb=4f0dc0 valusMax=200 pcb=62451c bound buffer[4] = 5180864 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 6 **** : fCType=1 rgb=4f0e89 valusMax=200 pcb=62451c bound buffer[5] = 5181065 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 7 **** : fCType=1 rgb=4f0f52 valusMax=200 pcb=62451c bound buffer[6] = 5181266 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=158, stmt='select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' stmt_with_params = 'select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' send_query: done sending query read 189, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 7 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_count', adtid=1043, adtsize=-1, atttypmod=10 READING ATTTYPMOD CI_read_fields: fieldname='proj_locked', adtid=1043, adtsize=-1, atttypmod=4 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_write', adtid=1043, adtsize=-1, atttypmod=4 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_only', adtid=1043, adtsize=-1, atttypmod=10 READING ATTTYPMOD CI_read_fields: fieldname='proj_id', adtid=23, adtsize=4, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='proj_machine_id', adtid=1043, adtsize=-1, atttypmod=100 READING ATTTYPMOD CI_read_fields: fieldname='proj_data_source', adtid=1043, adtsize=-1, atttypmod=128 QR_fetch_tuples: past CI_read_fields: num_fields = 7 MALLOC: tuple_size = 100, size = 5600 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=7 exit extend_bindings [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 2 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 4 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 5 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 6 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 7 **** : fCType=1 rgb=0 valusMax=0 pcb=62451c [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_READY, change SQL [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=4 rgb=623e5c valusMax=4 pcb=623a10 bound buffer[0] = 6438492 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=37, stmt='select max(PROJ_ID) from MSP_PROJECTS' stmt_with_params = 'select max(PROJ_ID) from MSP_PROJECTS' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select max(PROJ_ID) from MSP_PROJECTS' send_query: done sending query read 35, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 1 READING ATTTYPMOD CI_read_fields: fieldname='max', adtid=23, adtsize=4, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 1 MALLOC: tuple_size = 100, size = 800 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C' fetch_max && fcount = 1 send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=1 exit extend_bindings [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=1, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 6438492 type = 23 value = '' copy_and_convert: field_type = 23, fctype = 4, value = '', cbValueMax=4 copy_and_convert: retval = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=1 row = 0, num_fields = 1 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_READY, change SQL [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=4f0a9c valusMax=200 pcb=623300 bound buffer[0] = 5180060 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 2 **** : fCType=1 rgb=4f0b65 valusMax=200 pcb=623300 bound buffer[1] = 5180261 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=1 rgb=4f0c2e valusMax=200 pcb=623300 bound buffer[2] = 5180462 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 4 **** : fCType=1 rgb=4f0cf7 valusMax=200 pcb=623300 bound buffer[3] = 5180663 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 5 **** : fCType=1 rgb=4f0dc0 valusMax=200 pcb=623300 bound buffer[4] = 5180864 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 6 **** : fCType=1 rgb=4f0e89 valusMax=200 pcb=623300 bound buffer[5] = 5181065 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 7 **** : fCType=1 rgb=4f0f52 valusMax=200 pcb=623300 bound buffer[6] = 5181266 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=158, stmt='select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' stmt_with_params = 'select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select PROJ_READ_COUNT , PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = 'Tam45' ' send_query: done sending query read 189, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 7 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_count', adtid=1043, adtsize=-1, atttypmod=10 READING ATTTYPMOD CI_read_fields: fieldname='proj_locked', adtid=1043, adtsize=-1, atttypmod=4 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_write', adtid=1043, adtsize=-1, atttypmod=4 READING ATTTYPMOD CI_read_fields: fieldname='proj_read_only', adtid=1043, adtsize=-1, atttypmod=10 READING ATTTYPMOD CI_read_fields: fieldname='proj_id', adtid=23, adtsize=4, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='proj_machine_id', adtid=1043, adtsize=-1, atttypmod=100 READING ATTTYPMOD CI_read_fields: fieldname='proj_data_source', adtid=1043, adtsize=-1, atttypmod=128 QR_fetch_tuples: past CI_read_fields: num_fields = 7 MALLOC: tuple_size = 100, size = 5600 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=7 exit extend_bindings [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 2 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 3 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 4 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 5 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 6 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 7 **** : fCType=1 rgb=0 valusMax=0 pcb=623300 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='insert into MSP_PROJECTS (PROJ_NAME, PROJ_ID, PROJ_READ_COUNT, PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY , PROJ_MACHINE_ID,PROJ_DATA_SOURCE) values ( 'Tam45',1, '0', '0', '0', '0', 'SNOOPY', 'PostgreSQL') ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=208, stmt='insert into MSP_PROJECTS (PROJ_NAME, PROJ_ID, PROJ_READ_COUNT, PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY , PROJ_MACHINE_ID,PROJ_DATA_SOURCE) values ( 'Tam45',1, '0', '0', '0', '0', 'SNOOPY', 'PostgreSQL') ' stmt_with_params = 'insert into MSP_PROJECTS (PROJ_NAME, PROJ_ID, PROJ_READ_COUNT, PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY , PROJ_MACHINE_ID,PROJ_DATA_SOURCE) values ( 'Tam45',1, '0', '0', '0', '0', 'SNOOPY', 'PostgreSQL') ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='insert into MSP_PROJECTS (PROJ_NAME, PROJ_ID, PROJ_READ_COUNT, PROJ_LOCKED, PROJ_READ_WRITE, PROJ_READ_ONLY , PROJ_MACHINE_ID,PROJ_DATA_SOURCE) values ( 'Tam45',1, '0', '0', '0', '0', 'SNOOPY', 'PostgreSQL') ' send_query: done sending query read 24, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'C' send_query: ok - 'C' - INSERT 20054 1 in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'INSERT 20054 1' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495488 CC_add_statement: self=36389440, stmt=37495488 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495488, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=188, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495488, cursor_name='SQL_CUR023C22C0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495488, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495488, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495488, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495488, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495488, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495488, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495488, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495488 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495088 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create table MSP_NUMBER_FIELDS (PROJ_ID int4, NUM_CATEGORY int4, NUM_REF_UID int4, NUM_FIELD_ID int4, NUM_VALUE float8) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=121, stmt='create table MSP_NUMBER_FIELDS (PROJ_ID int4, NUM_CATEGORY int4, NUM_REF_UID int4, NUM_FIELD_ID int4, NUM_VALUE float8) ' stmt_with_params = 'create table MSP_NUMBER_FIELDS (PROJ_ID int4, NUM_CATEGORY int4, NUM_REF_UID int4, NUM_FIELD_ID int4, NUM_VALUE float8) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create table MSP_NUMBER_FIELDS (PROJ_ID int4, NUM_CATEGORY int4, NUM_REF_UID int4, NUM_FIELD_ID int4, NUM_VALUE float8) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_NUMBER_FIELDS on MSP_NUMBER_FIELDS (PROJ_ID,NUM_CATEGORY,NUM_REF_UID,NUM_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=108, stmt='create unique index I_MSP_NUMBER_FIELDS on MSP_NUMBER_FIELDS (PROJ_ID,NUM_CATEGORY,NUM_REF_UID,NUM_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_NUMBER_FIELDS on MSP_NUMBER_FIELDS (PROJ_ID,NUM_CATEGORY,NUM_REF_UID,NUM_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_NUMBER_FIELDS on MSP_NUMBER_FIELDS (PROJ_ID,NUM_CATEGORY,NUM_REF_UID,NUM_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TEXT_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=186, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TEXT_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TEXT_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TEXT_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_TEXT_FIELDS (PROJ_ID int4, TEXT_CATEGORY int4, TEXT_REF_UID int4, TEXT_FIELD_ID int4 , TEXT_VALUE varchar(255)) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=131, stmt=' create table MSP_TEXT_FIELDS (PROJ_ID int4, TEXT_CATEGORY int4, TEXT_REF_UID int4, TEXT_FIELD_ID int4 , TEXT_VALUE varchar(255)) ' stmt_with_params = ' create table MSP_TEXT_FIELDS (PROJ_ID int4, TEXT_CATEGORY int4, TEXT_REF_UID int4, TEXT_FIELD_ID int4 , TEXT_VALUE varchar(255)) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_TEXT_FIELDS (PROJ_ID int4, TEXT_CATEGORY int4, TEXT_REF_UID int4, TEXT_FIELD_ID int4 , TEXT_VALUE varchar(255)) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_TEXT_FIELDS on MSP_TEXT_FIELDS (PROJ_ID,TEXT_CATEGORY,TEXT_REF_UID,TEXT_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=107, stmt='create unique index I_MSP_TEXT_FIELDS on MSP_TEXT_FIELDS (PROJ_ID,TEXT_CATEGORY,TEXT_REF_UID,TEXT_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_TEXT_FIELDS on MSP_TEXT_FIELDS (PROJ_ID,TEXT_CATEGORY,TEXT_REF_UID,TEXT_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_TEXT_FIELDS on MSP_TEXT_FIELDS (PROJ_ID,TEXT_CATEGORY,TEXT_REF_UID,TEXT_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DATE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=186, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DATE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DATE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DATE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create table MSP_DATE_FIELDS (PROJ_ID int4, DATE_CATEGORY int4, DATE_REF_UID int4, DATE_FIELD_ID int4, DATE_VALUE datetime) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=125, stmt='create table MSP_DATE_FIELDS (PROJ_ID int4, DATE_CATEGORY int4, DATE_REF_UID int4, DATE_FIELD_ID int4, DATE_VALUE datetime) ' stmt_with_params = 'create table MSP_DATE_FIELDS (PROJ_ID int4, DATE_CATEGORY int4, DATE_REF_UID int4, DATE_FIELD_ID int4, DATE_VALUE datetime) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create table MSP_DATE_FIELDS (PROJ_ID int4, DATE_CATEGORY int4, DATE_REF_UID int4, DATE_FIELD_ID int4, DATE_VALUE datetime) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_DATE_FIELDS on MSP_DATE_FIELDS (PROJ_ID,DATE_CATEGORY,DATE_REF_UID,DATE_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=107, stmt='create unique index I_MSP_DATE_FIELDS on MSP_DATE_FIELDS (PROJ_ID,DATE_CATEGORY,DATE_REF_UID,DATE_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_DATE_FIELDS on MSP_DATE_FIELDS (PROJ_ID,DATE_CATEGORY,DATE_REF_UID,DATE_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_DATE_FIELDS on MSP_DATE_FIELDS (PROJ_ID,DATE_CATEGORY,DATE_REF_UID,DATE_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DURATION_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=190, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DURATION_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DURATION_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_DURATION_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_DURATION_FIELDS (PROJ_ID int4, DUR_CATEGORY int4, DUR_REF_UID int4, DUR_FIELD_ID int4 , DUR_VALUE int4, DUR_FMT int2 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=139, stmt=' create table MSP_DURATION_FIELDS (PROJ_ID int4, DUR_CATEGORY int4, DUR_REF_UID int4, DUR_FIELD_ID int4 , DUR_VALUE int4, DUR_FMT int2 ) ' stmt_with_params = ' create table MSP_DURATION_FIELDS (PROJ_ID int4, DUR_CATEGORY int4, DUR_REF_UID int4, DUR_FIELD_ID int4 , DUR_VALUE int4, DUR_FMT int2 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_DURATION_FIELDS (PROJ_ID int4, DUR_CATEGORY int4, DUR_REF_UID int4, DUR_FIELD_ID int4 , DUR_VALUE int4, DUR_FMT int2 ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_DURATION_FIELDS on MSP_DURATION_FIELDS (PROJ_ID,DUR_CATEGORY,DUR_REF_UID,DUR_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=112, stmt='create unique index I_MSP_DURATION_FIELDS on MSP_DURATION_FIELDS (PROJ_ID,DUR_CATEGORY,DUR_REF_UID,DUR_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_DURATION_FIELDS on MSP_DURATION_FIELDS (PROJ_ID,DUR_CATEGORY,DUR_REF_UID,DUR_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_DURATION_FIELDS on MSP_DURATION_FIELDS (PROJ_ID,DUR_CATEGORY,DUR_REF_UID,DUR_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=188, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_NUMBER_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FLAG_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=186, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FLAG_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FLAG_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FLAG_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create table MSP_FLAG_FIELDS (PROJ_ID int4, FLAG_CATEGORY int4, FLAG_REF_UID int4, FLAG_FIELD_ID int4, FLAG_VALUE char) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=121, stmt='create table MSP_FLAG_FIELDS (PROJ_ID int4, FLAG_CATEGORY int4, FLAG_REF_UID int4, FLAG_FIELD_ID int4, FLAG_VALUE char) ' stmt_with_params = 'create table MSP_FLAG_FIELDS (PROJ_ID int4, FLAG_CATEGORY int4, FLAG_REF_UID int4, FLAG_FIELD_ID int4, FLAG_VALUE char) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create table MSP_FLAG_FIELDS (PROJ_ID int4, FLAG_CATEGORY int4, FLAG_REF_UID int4, FLAG_FIELD_ID int4, FLAG_VALUE char) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_FLAG_FIELDS on MSP_FLAG_FIELDS (PROJ_ID,FLAG_CATEGORY,FLAG_REF_UID,FLAG_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=107, stmt='create unique index I_MSP_FLAG_FIELDS on MSP_FLAG_FIELDS (PROJ_ID,FLAG_CATEGORY,FLAG_REF_UID,FLAG_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_FLAG_FIELDS on MSP_FLAG_FIELDS (PROJ_ID,FLAG_CATEGORY,FLAG_REF_UID,FLAG_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_FLAG_FIELDS on MSP_FLAG_FIELDS (PROJ_ID,FLAG_CATEGORY,FLAG_REF_UID,FLAG_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CODE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=186, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CODE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CODE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CODE_FIELDS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6223f4 valusMax=128 pcb=0 bound buffer[0] = 6431732 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=6226f4 valusMax=128 pcb=0 bound buffer[1] = 6432500 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6224f4 valusMax=128 pcb=0 bound buffer[2] = 6431988 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6248c8 valusMax=40 pcb=624968 bound buffer[0] = 6441160 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495184 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create table MSP_CODE_FIELDS (PROJ_ID int4, CODE_CATEGORY int4, CODE_REF_UID int4, CODE_FIELD_ID int4, CODE_UID int4) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=119, stmt='create table MSP_CODE_FIELDS (PROJ_ID int4, CODE_CATEGORY int4, CODE_REF_UID int4, CODE_FIELD_ID int4, CODE_UID int4) ' stmt_with_params = 'create table MSP_CODE_FIELDS (PROJ_ID int4, CODE_CATEGORY int4, CODE_REF_UID int4, CODE_FIELD_ID int4, CODE_UID int4) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create table MSP_CODE_FIELDS (PROJ_ID int4, CODE_CATEGORY int4, CODE_REF_UID int4, CODE_FIELD_ID int4, CODE_UID int4) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_CODE_FIELDS on MSP_CODE_FIELDS (PROJ_ID,CODE_CATEGORY,CODE_REF_UID,CODE_FIELD_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=107, stmt='create unique index I_MSP_CODE_FIELDS on MSP_CODE_FIELDS (PROJ_ID,CODE_CATEGORY,CODE_REF_UID,CODE_FIELD_ID)' stmt_with_params = 'create unique index I_MSP_CODE_FIELDS on MSP_CODE_FIELDS (PROJ_ID,CODE_CATEGORY,CODE_REF_UID,CODE_FIELD_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_CODE_FIELDS on MSP_CODE_FIELDS (PROJ_ID,CODE_CATEGORY,CODE_REF_UID,CODE_FIELD_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CURSOR_TYPE = 0 [SQLPrepare]PGAPI_Prepare: entering... **** PGAPI_Prepare: STMT_READY, change SQL [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=11 rgb=4c8ea8 valusMax=16 pcb=624ee4 bound buffer[0] = 5017256 [SQLExecute]PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=58, stmt='select PROJ_LAST_SAVED from MSP_PROJECTS where PROJ_ID = 1' stmt_with_params = 'select PROJ_LAST_SAVED from MSP_PROJECTS where PROJ_ID = 1' Sending SELECT statement on stmt=37490048, cursor_name='SQL_CUR023C0D80' send_query(): conn=36389440, query='select PROJ_LAST_SAVED from MSP_PROJECTS where PROJ_ID = 1' send_query: done sending query read 47, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 1 READING ATTTYPMOD CI_read_fields: fieldname='proj_last_saved', adtid=1184, adtsize=8, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 1 MALLOC: tuple_size = 100, size = 800 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C' fetch_max && fcount = 1 send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=1 exit extend_bindings [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 **** SC_fetch: manual_result fetch: cols=1, lf=0, self = 37490048, self->bindings = 37495952, buffer[] = 5017256 type = 1184 value = '' copy_and_convert: field_type = 1184, fctype = 11, value = '', cbValueMax=16 copy_and_convert: retval = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=1 row = 0, num_fields = 1 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=0 valusMax=17 pcb=624ee4 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='update MSP_PROJECTS set PROJ_READ_COUNT = '1', PROJ_LOCKED = '1', PROJ_READ_WRITE = '1' , PROJ_READ_ONLY = '1' , PROJ_MACHINE_ID = 'SNOOPY', PROJ_DATA_SOURCE = 'PostgreSQL' where PROJ_NAME = 'Tam45' and (PROJ_READ_COUNT = '0' or PROJ_READ_COUNT IS NULL) and (PROJ_READ_ONLY = '0' or PROJ_READ_ONLY IS NULL)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=308, stmt='update MSP_PROJECTS set PROJ_READ_COUNT = '1', PROJ_LOCKED = '1', PROJ_READ_WRITE = '1' , PROJ_READ_ONLY = '1' , PROJ_MACHINE_ID = 'SNOOPY', PROJ_DATA_SOURCE = 'PostgreSQL' where PROJ_NAME = 'Tam45' and (PROJ_READ_COUNT = '0' or PROJ_READ_COUNT IS NULL) and (PROJ_READ_ONLY = '0' or PROJ_READ_ONLY IS NULL)' stmt_with_params = 'update MSP_PROJECTS set PROJ_READ_COUNT = '1', PROJ_LOCKED = '1', PROJ_READ_WRITE = '1' , PROJ_READ_ONLY = '1' , PROJ_MACHINE_ID = 'SNOOPY', PROJ_DATA_SOURCE = 'PostgreSQL' where PROJ_NAME = 'Tam45' and (PROJ_READ_COUNT = '0' or PROJ_READ_COUNT IS NULL) and (PROJ_READ_ONLY = '0' or PROJ_READ_ONLY IS NULL)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='update MSP_PROJECTS set PROJ_READ_COUNT = '1', PROJ_LOCKED = '1', PROJ_READ_WRITE = '1' , PROJ_READ_ONLY = '1' , PROJ_MACHINE_ID = 'SNOOPY', PROJ_DATA_SOURCE = 'PostgreSQL' where PROJ_NAME = 'Tam45' and (PROJ_READ_COUNT = '0' or PROJ_READ_COUNT IS NULL) and (PROJ_READ_ONLY = '0' or PROJ_READ_ONLY IS NULL)' send_query: done sending query read 18, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'C' send_query: ok - 'C' - UPDATE 1 in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'UPDATE 1' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLRowCount]*** msg = 'UPDATE 1' **** PGAPI_RowCount(): THE ROWS: *pcrow = 1 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495392 CC_add_statement: self=36389440, stmt=37495392 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495392, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TASKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=180, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TASKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TASKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495392, cursor_name='SQL_CUR023C2260' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_TASKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495392, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495392, icol = 1 **** : fCType=1 rgb=6238b4 valusMax=128 pcb=0 bound buffer[0] = 6437044 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495392, icol = 2 **** : fCType=1 rgb=623bb4 valusMax=128 pcb=0 bound buffer[1] = 6437812 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495392, icol = 3 **** : fCType=1 rgb=6239b4 valusMax=128 pcb=0 bound buffer[2] = 6437300 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495392, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495392, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495392, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495392 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625d88 valusMax=40 pcb=625e28 bound buffer[0] = 6446472 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495008 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_TASKS ( RESERVED_DATA char(1), PROJ_ID int4 , TASK_ACWP float8 , TASK_BCWP float8 , TASK_BCWS float8 , TASK_DUR_VAR int4 , TASK_FINISH_VAR int4 , TASK_OUTLINE_NUM varchar ( 255 ) , TASK_START_VAR int4 , TASK_IS_OVERALLOCATED char , TASK_OVT_WORK float8 , TASK_VAC float8 , TASK_REG_WORK float8 , TASK_NUM_OBJECTS int4 , TASK_TOTAL_SLACK int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , TASK_UID int4 , TASK_ID int4 , TASK_HAS_LINKED_FIELDS char , TASK_IS_MILESTONE char , TASK_IS_CRITICAL char , TASK_IS_SUMMARY char , TASK_IS_SUBPROJ char , TASK_IS_MARKED char , TASK_IGNORES_RES_CAL char , TASK_IS_ROLLED_UP char , TASK_IS_FROM_FINISH_SUBPROJ char , TASK_BAR_IS_HIDDEN char , TASK_IS_RECURRING char , TASK_IS_RECURRING_SUMMARY char , TASK_IS_EXTERNAL char , TASK_IS_EFFORT_DRIVEN char , TASK_IS_COLLAPSED char , TASK_HAS_NOTES char , TASK_IS_READONLY_SUBPROJ char , TASK_LEVELING_CAN_SPLIT char , TASK_LEVELING_ADJUSTS_ASSN char , TASK_DUR_IS_EST char , TASK_EARLY_FINISH datetime , TASK_LATE_START datetime , TASK_STOP_DATE datetime , TASK_RESUME_DATE datetime , TASK_FREE_SLACK int4 , TASK_OUTLINE_LEVEL int2 , TASK_DUR int4 , TASK_DUR_FMT int2 , TASK_ACT_DUR int4 , TASK_REM_DUR int4 , TASK_BASE_DUR int4 , TASK_BASE_DUR_FMT int2 , TASK_CONSTRAINT_TYPE int2 , TASK_LEVELING_DELAY int4 , TASK_LEVELING_DELAY_FMT int2 , TASK_START_DATE datetime , TASK_FINISH_DATE datetime , TASK_ACT_START datetime , TASK_ACT_FINISH datetime , TASK_BASE_START datetime , TASK_BASE_FINISH datetime , TASK_CONSTRAINT_DATE datetime , TASK_PRIORITY int2 , TASK_PCT_COMP int2 , TASK_PCT_WORK_COMP int2 , TASK_TYPE int2 , TASK_FIXED_COST_ACCRUAL int2 , TASK_CREATION_DATE datetime , TASK_PRELEVELED_START datetime , TASK_PRELEVELED_FINISH datetime , TASK_EARLY_START datetime , TASK_LATE_FINISH datetime , TASK_CAL_UID int4 , TASK_DEADLINE datetime , TASK_WORK float8 , TASK_BASE_WORK float8 , TASK_ACT_WORK float8 , TASK_REM_WORK float8 , TASK_COST float8 , TASK_FIXED_COST float8 , TASK_ACT_COST float8 , TASK_REM_COST float8 , TASK_BASE_COST float8 , TASK_ACT_OVT_WORK float8 , TASK_REM_OVT_WORK float8 , TASK_OVT_COST float8 , TASK_ACT_OVT_COST float8 , TASK_REM_OVT_COST float8 , TASK_WBS varchar ( 255 ) , TASK_NAME varchar ( 255 ) , TASK_WBS_RIGHTMOST_LEVEL varchar ( 255 ) , TASK_RTF_NOTES lo ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=2303, stmt=' create table MSP_TASKS ( RESERVED_DATA char(1), PROJ_ID int4 , TASK_ACWP float8 , TASK_BCWP float8 , TASK_BCWS float8 , TASK_DUR_VAR int4 , TASK_FINISH_VAR int4 , TASK_OUTLINE_NUM varchar ( 255 ) , TASK_START_VAR int4 , TASK_IS_OVERALLOCATED char , TASK_OVT_WORK float8 , TASK_VAC float8 , TASK_REG_WORK float8 , TASK_NUM_OBJECTS int4 , TASK_TOTAL_SLACK int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , TASK_UID int4 , TASK_ID int4 , TASK_HAS_LINKED_FIELDS char , TASK_IS_MILESTONE char , TASK_IS_CRITICAL char , TASK_IS_SUMMARY char , TASK_IS_SUBPROJ char , TASK_IS_MARKED char , TASK_IGNORES_RES_CAL char , TASK_IS_ROLLED_UP char , TASK_IS_FROM_FINISH_SUBPROJ char , TASK_BAR_IS_HIDDEN char , TASK_IS_RECURRING char , TASK_IS_RECURRING_SUMMARY char , TASK_IS_EXTERNAL char , TASK_IS_EFFORT_DRIVEN char , TASK_IS_COLLAPSED char , TASK_HAS_NOTES char , TASK_IS_READONLY_SUBPROJ char , TASK_LEVELING_CAN_SPLIT char , TASK_LEVELING_ADJUSTS_ASSN char , TASK_DUR_IS_EST char , TASK_EARLY_FINISH datetime , TASK_LATE_START datetime , TASK_STOP_DATE datetime , TASK_RESUME_DATE datetime , TASK_FREE_SLACK int4 , TASK_OUTLINE_LEVEL int2 , TASK_DUR int4 , TASK_DUR_FMT int2 , TASK_ACT_DUR int4 , TASK_REM_DUR int4 , TASK_BASE_DUR int4 , TASK_BASE_DUR_FMT int2 , TASK_CONSTRAINT_TYPE int2 , TASK_LEVELING_DELAY int4 , TASK_LEVELING_DELAY_FMT int2 , TASK_START_DATE datetime , TASK_FINISH_DATE datetime , TASK_ACT_START datetime , TASK_ACT_FINISH datetime , TASK_BASE_START datetime , TASK_BASE_FINISH datetime , TASK_CONSTRAINT_DATE datetime , TASK_PRIORITY int2 , TASK_PCT_COMP int2 , TASK_PCT_WORK_COMP int2 , TASK_TYPE int2 , TASK_FIXED_COST_ACCRUAL int2 , TASK_CREATION_DATE datetime , TASK_PRELEVELED_START datetime , TASK_PRELEVELED_FINISH datetime , TASK_EARLY_START datetime , TASK_LATE_FINISH datetime , TASK_CAL_UID int4 , TASK_DEADLINE datetime , TASK_WORK float8 , TASK_BASE_WORK float8 , TASK_ACT_WORK float8 , TASK_REM_WORK float8 , TASK_COST float8 , TASK_FIXED_COST float8 , TASK_ACT_COST float8 , TASK_REM_COST float8 , TASK_BASE_COST float8 , TASK_ACT_OVT_WORK float8 , TASK_REM_OVT_WORK float8 , TASK_OVT_COST float8 , TASK_ACT_OVT_COST float8 , TASK_REM_OVT_COST float8 , TASK_WBS varchar ( 255 ) , TASK_NAME varchar ( 255 ) , TASK_WBS_RIGHTMOST_LEVEL varchar ( 255 ) , TASK_RTF_NOTES lo ) ' stmt_with_params = ' create table MSP_TASKS ( RESERVED_DATA char(1), PROJ_ID int4 , TASK_ACWP float8 , TASK_BCWP float8 , TASK_BCWS float8 , TASK_DUR_VAR int4 , TASK_FINISH_VAR int4 , TASK_OUTLINE_NUM varchar ( 255 ) , TASK_START_VAR int4 , TASK_IS_OVERALLOCATED char , TASK_OVT_WORK float8 , TASK_VAC float8 , TASK_REG_WORK float8 , TASK_NUM_OBJECTS int4 , TASK_TOTAL_SLACK int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , TASK_UID int4 , TASK_ID int4 , TASK_HAS_LINKED_FIELDS char , TASK_IS_MILESTONE char , TASK_IS_CRITICAL char , TASK_IS_SUMMARY char , TASK_IS_SUBPROJ char , TASK_IS_MARKED char , TASK_IGNORES_RES_CAL char , TASK_IS_ROLLED_UP char , TASK_IS_FROM_FINISH_SUBPROJ char , TASK_BAR_IS_HIDDEN char , TASK_IS_RECURRING char , TASK_IS_RECURRING_SUMMARY char , TASK_IS_EXTERNAL char , TASK_IS_EFFORT_DRIVEN char , TASK_IS_COLLAPSED char , TASK_HAS_NOTES char , TASK_IS_READONLY_SUBPROJ char , TASK_LEVELING_CAN_SPLIT char , TASK_LEVELING_ADJUSTS_ASSN char , TASK_DUR_IS_EST char , TASK_EARLY_FINISH datetime , TASK_LATE_START datetime , TASK_STOP_DATE datetime , TASK_RESUME_DATE datetime , TASK_FREE_SLACK int4 , TASK_OUTLINE_LEVEL int2 , TASK_DUR int4 , TASK_DUR_FMT int2 , TASK_ACT_DUR int4 , TASK_REM_DUR int4 , TASK_BASE_DUR int4 , TASK_BASE_DUR_FMT int2 , TASK_CONSTRAINT_TYPE int2 , TASK_LEVELING_DELAY int4 , TASK_LEVELING_DELAY_FMT int2 , TASK_START_DATE datetime , TASK_FINISH_DATE datetime , TASK_ACT_START datetime , TASK_ACT_FINISH datetime , TASK_BASE_START datetime , TASK_BASE_FINISH datetime , TASK_CONSTRAINT_DATE datetime , TASK_PRIORITY int2 , TASK_PCT_COMP int2 , TASK_PCT_WORK_COMP int2 , TASK_TYPE int2 , TASK_FIXED_COST_ACCRUAL int2 , TASK_CREATION_DATE datetime , TASK_PRELEVELED_START datetime , TASK_PRELEVELED_FINISH datetime , TASK_EARLY_START datetime , TASK_LATE_FINISH datetime , TASK_CAL_UID int4 , TASK_DEADLINE datetime , TASK_WORK float8 , TASK_BASE_WORK float8 , TASK_ACT_WORK float8 , TASK_REM_WORK float8 , TASK_COST float8 , TASK_FIXED_COST float8 , TASK_ACT_COST float8 , TASK_REM_COST float8 , TASK_BASE_COST float8 , TASK_ACT_OVT_WORK float8 , TASK_REM_OVT_WORK float8 , TASK_OVT_COST float8 , TASK_ACT_OVT_COST float8 , TASK_REM_OVT_COST float8 , TASK_WBS varchar ( 255 ) , TASK_NAME varchar ( 255 ) , TASK_WBS_RIGHTMOST_LEVEL varchar ( 255 ) , TASK_RTF_NOTES lo ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_TASKS ( RESERVED_DATA char(1), PROJ_ID int4 , TASK_ACWP float8 , TASK_BCWP float8 , TASK_BCWS float8 , TASK_DUR_VAR int4 , TASK_FINISH_VAR int4 , TASK_OUTLINE_NUM varchar ( 255 ) , TASK_START_VAR int4 , TASK_IS_OVERALLOCATED char , TASK_OVT_WORK float8 , TASK_VAC float8 , TASK_REG_WORK float8 , TASK_NUM_OBJECTS int4 , TASK_TOTAL_SLACK int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , TASK_UID int4 , TASK_ID int4 , TASK_HAS_LINKED_FIELDS char , TASK_IS_MILESTONE char , TASK_IS_CRITICAL char , TASK_IS_SUMMARY char , TASK_IS_SUBPROJ char , TASK_IS_MARKED char , TASK_IGNORES_RES_CAL char , TASK_IS_ROLLED_UP char , TASK_IS_FROM_FINISH_SUBPROJ char , TASK_BAR_IS_HIDDEN char , TASK_IS_RECURRING char , TASK_IS_RECURRING_SUMMARY char , TASK_IS_EXTERNAL char , TASK_IS_EFFORT_DRIVEN char , TASK_IS_COLLAPSED char , TASK_HAS_NOTES char , TASK_IS_READONLY_SUBPROJ char , TASK_LEVELING_CAN_SPLIT char , TASK_LEVELING_ADJUSTS_ASSN char , TASK_DUR_IS_EST char , TASK_EARLY_FINISH datetime , TASK_LATE_START datetime , TASK_STOP_DATE datetime , TASK_RESUME_DATE datetime , TASK_FREE_SLACK int4 , TASK_OUTLINE_LEVEL int2 , TASK_DUR int4 , TASK_DUR_FMT int2 , TASK_ACT_DUR int4 , TASK_REM_DUR int4 , TASK_BASE_DUR int4 , TASK_BASE_DUR_FMT int2 , TASK_CONSTRAINT_TYPE int2 , TASK_LEVELING_DELAY int4 , TASK_LEVELING_DELAY_FMT int2 , TASK_START_DATE datetime , TASK_FINISH_DATE datetime , TASK_ACT_START datetime , TASK_ACT_FINISH datetime , TASK_BASE_START datetime , TASK_BASE_FINISH datetime , TASK_CONSTRAINT_DATE datetime , TASK_PRIORITY int2 , TASK_PCT_COMP int2 , TASK_PCT_WORK_COMP int2 , TASK_TYPE int2 , TASK_FIXED_COST_ACCRUAL int2 , TASK_CREATION_DATE datetime , TASK_PRELEVELED_START datetime , TASK_PRELEVELED_FINISH datetime , TASK_EARLY_START datetime , TASK_LATE_FINISH datetime , TASK_CAL_UID int4 , TASK_DEADLINE datetime , TASK_WORK float8 , TASK_BASE_WORK float8 , TASK_ACT_WORK float8 , TASK_REM_WORK float8 , TASK_COST float8 , TASK_FIXED_COST float8 , TASK_ACT_COST float8 , TASK_REM_COST float8 , TASK_BASE_COST float8 , TASK_ACT_OVT_WORK float8 , TASK_REM_OVT_WORK float8 , TASK_OVT_COST float8 , TASK_ACT_OVT_COST float8 , TASK_REM_OVT_COST float8 , TASK_WBS varchar ( 255 ) , TASK_NAME varchar ( 255 ) , TASK_WBS_RIGHTMOST_LEVEL varchar ( 255 ) , TASK_RTF_NOTES lo ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_TASKS on MSP_TASKS (PROJ_ID,TASK_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=63, stmt='create unique index I_MSP_TASKS on MSP_TASKS (PROJ_ID,TASK_UID)' stmt_with_params = 'create unique index I_MSP_TASKS on MSP_TASKS (PROJ_ID,TASK_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_TASKS on MSP_TASKS (PROJ_ID,TASK_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_TIMEPHASED_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , TD_UID int4 , TD_FIELD_ID int2 , TD_CATEGORY int2 , TD_REF_UID int4 , TD_START datetime , TD_FINISH datetime , TD_UNITS int2 , TD_VALUE1 float8 , TD_VALUE2 float8 , TD_VALUE3 float8 , TD_VALUE4 float8 , TD_VALUE5 float8 , TD_VALUE6 float8 , TD_VALUE7 float8 , TD_EXT_EDITED char ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=357, stmt=' create table MSP_TIMEPHASED_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , TD_UID int4 , TD_FIELD_ID int2 , TD_CATEGORY int2 , TD_REF_UID int4 , TD_START datetime , TD_FINISH datetime , TD_UNITS int2 , TD_VALUE1 float8 , TD_VALUE2 float8 , TD_VALUE3 float8 , TD_VALUE4 float8 , TD_VALUE5 float8 , TD_VALUE6 float8 , TD_VALUE7 float8 , TD_EXT_EDITED char ) ' stmt_with_params = ' create table MSP_TIMEPHASED_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , TD_UID int4 , TD_FIELD_ID int2 , TD_CATEGORY int2 , TD_REF_UID int4 , TD_START datetime , TD_FINISH datetime , TD_UNITS int2 , TD_VALUE1 float8 , TD_VALUE2 float8 , TD_VALUE3 float8 , TD_VALUE4 float8 , TD_VALUE5 float8 , TD_VALUE6 float8 , TD_VALUE7 float8 , TD_EXT_EDITED char ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_TIMEPHASED_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , TD_UID int4 , TD_FIELD_ID int2 , TD_CATEGORY int2 , TD_REF_UID int4 , TD_START datetime , TD_FINISH datetime , TD_UNITS int2 , TD_VALUE1 float8 , TD_VALUE2 float8 , TD_VALUE3 float8 , TD_VALUE4 float8 , TD_VALUE5 float8 , TD_VALUE6 float8 , TD_VALUE7 float8 , TD_EXT_EDITED char ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_TIMEPHASED_DATA on MSP_TIMEPHASED_DATA (PROJ_ID,TD_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=81, stmt='create unique index I_MSP_TIMEPHASED_DATA on MSP_TIMEPHASED_DATA (PROJ_ID,TD_UID)' stmt_with_params = 'create unique index I_MSP_TIMEPHASED_DATA on MSP_TIMEPHASED_DATA (PROJ_ID,TD_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_TIMEPHASED_DATA on MSP_TIMEPHASED_DATA (PROJ_ID,TD_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=184, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6238cc valusMax=128 pcb=0 bound buffer[0] = 6437068 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=623bcc valusMax=128 pcb=0 bound buffer[1] = 6437836 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6239cc valusMax=128 pcb=0 bound buffer[2] = 6437324 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625da0 valusMax=40 pcb=625e40 bound buffer[0] = 6446496 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495216 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_RESOURCES ( RESERVED_DATA char(1), PROJ_ID int4 , RES_ACWP float8 , RES_BCWP float8 , RES_BCWS float8 , RES_NUM_OBJECTS int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , RES_UID int4 , RES_ID int4 , RES_HAS_LINKED_FIELDS char , RES_IS_OVERALLOCATED char , RES_TYPE char , RES_HAS_NOTES char , RES_CAN_LEVEL char , RES_STD_RATE_FMT int2 , RES_OVT_RATE_FMT int2 , RES_ACCRUE_AT int2 , RES_WORKGROUP_MESSAGING int2 , RES_CAL_UID int4 , RES_AVAIL_FROM datetime , RES_AVAIL_TO datetime , RES_STD_RATE float8 , RES_OVT_RATE float8 , RES_MAX_UNITS float8 , RES_WORK float8 , RES_ACT_WORK float8 , RES_BASE_WORK float8 , RES_OVT_WORK float8 , RES_COST_PER_USE float8 , RES_REM_WORK float8 , RES_REG_WORK float8 , RES_ACT_OVT_WORK float8 , RES_REM_OVT_WORK float8 , RES_PEAK float8 , RES_ACT_COST float8 , RES_COST float8 , RES_BASE_COST float8 , RES_REM_COST float8 , RES_OVT_COST float8 , RES_ACT_OVT_COST float8 , RES_REM_OVT_COST float8 , RES_NAME varchar ( 255 ) , RES_INITIALS varchar ( 255 ) , RES_PHONETICS varchar ( 255 ) , RES_MATERIAL_LABEL varchar ( 255 ) , RES_RTF_NOTES lo ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=1098, stmt=' create table MSP_RESOURCES ( RESERVED_DATA char(1), PROJ_ID int4 , RES_ACWP float8 , RES_BCWP float8 , RES_BCWS float8 , RES_NUM_OBJECTS int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , RES_UID int4 , RES_ID int4 , RES_HAS_LINKED_FIELDS char , RES_IS_OVERALLOCATED char , RES_TYPE char , RES_HAS_NOTES char , RES_CAN_LEVEL char , RES_STD_RATE_FMT int2 , RES_OVT_RATE_FMT int2 , RES_ACCRUE_AT int2 , RES_WORKGROUP_MESSAGING int2 , RES_CAL_UID int4 , RES_AVAIL_FROM datetime , RES_AVAIL_TO datetime , RES_STD_RATE float8 , RES_OVT_RATE float8 , RES_MAX_UNITS float8 , RES_WORK float8 , RES_ACT_WORK float8 , RES_BASE_WORK float8 , RES_OVT_WORK float8 , RES_COST_PER_USE float8 , RES_REM_WORK float8 , RES_REG_WORK float8 , RES_ACT_OVT_WORK float8 , RES_REM_OVT_WORK float8 , RES_PEAK float8 , RES_ACT_COST float8 , RES_COST float8 , RES_BASE_COST float8 , RES_REM_COST float8 , RES_OVT_COST float8 , RES_ACT_OVT_COST float8 , RES_REM_OVT_COST float8 , RES_NAME varchar ( 255 ) , RES_INITIALS varchar ( 255 ) , RES_PHONETICS varchar ( 255 ) , RES_MATERIAL_LABEL varchar ( 255 ) , RES_RTF_NOTES lo ) ' stmt_with_params = ' create table MSP_RESOURCES ( RESERVED_DATA char(1), PROJ_ID int4 , RES_ACWP float8 , RES_BCWP float8 , RES_BCWS float8 , RES_NUM_OBJECTS int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , RES_UID int4 , RES_ID int4 , RES_HAS_LINKED_FIELDS char , RES_IS_OVERALLOCATED char , RES_TYPE char , RES_HAS_NOTES char , RES_CAN_LEVEL char , RES_STD_RATE_FMT int2 , RES_OVT_RATE_FMT int2 , RES_ACCRUE_AT int2 , RES_WORKGROUP_MESSAGING int2 , RES_CAL_UID int4 , RES_AVAIL_FROM datetime , RES_AVAIL_TO datetime , RES_STD_RATE float8 , RES_OVT_RATE float8 , RES_MAX_UNITS float8 , RES_WORK float8 , RES_ACT_WORK float8 , RES_BASE_WORK float8 , RES_OVT_WORK float8 , RES_COST_PER_USE float8 , RES_REM_WORK float8 , RES_REG_WORK float8 , RES_ACT_OVT_WORK float8 , RES_REM_OVT_WORK float8 , RES_PEAK float8 , RES_ACT_COST float8 , RES_COST float8 , RES_BASE_COST float8 , RES_REM_COST float8 , RES_OVT_COST float8 , RES_ACT_OVT_COST float8 , RES_REM_OVT_COST float8 , RES_NAME varchar ( 255 ) , RES_INITIALS varchar ( 255 ) , RES_PHONETICS varchar ( 255 ) , RES_MATERIAL_LABEL varchar ( 255 ) , RES_RTF_NOTES lo ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_RESOURCES ( RESERVED_DATA char(1), PROJ_ID int4 , RES_ACWP float8 , RES_BCWP float8 , RES_BCWS float8 , RES_NUM_OBJECTS int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , RES_UID int4 , RES_ID int4 , RES_HAS_LINKED_FIELDS char , RES_IS_OVERALLOCATED char , RES_TYPE char , RES_HAS_NOTES char , RES_CAN_LEVEL char , RES_STD_RATE_FMT int2 , RES_OVT_RATE_FMT int2 , RES_ACCRUE_AT int2 , RES_WORKGROUP_MESSAGING int2 , RES_CAL_UID int4 , RES_AVAIL_FROM datetime , RES_AVAIL_TO datetime , RES_STD_RATE float8 , RES_OVT_RATE float8 , RES_MAX_UNITS float8 , RES_WORK float8 , RES_ACT_WORK float8 , RES_BASE_WORK float8 , RES_OVT_WORK float8 , RES_COST_PER_USE float8 , RES_REM_WORK float8 , RES_REG_WORK float8 , RES_ACT_OVT_WORK float8 , RES_REM_OVT_WORK float8 , RES_PEAK float8 , RES_ACT_COST float8 , RES_COST float8 , RES_BASE_COST float8 , RES_REM_COST float8 , RES_OVT_COST float8 , RES_ACT_OVT_COST float8 , RES_REM_OVT_COST float8 , RES_NAME varchar ( 255 ) , RES_INITIALS varchar ( 255 ) , RES_PHONETICS varchar ( 255 ) , RES_MATERIAL_LABEL varchar ( 255 ) , RES_RTF_NOTES lo ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_RESOURCES on MSP_RESOURCES (PROJ_ID,RES_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=70, stmt='create unique index I_MSP_RESOURCES on MSP_RESOURCES (PROJ_ID,RES_UID)' stmt_with_params = 'create unique index I_MSP_RESOURCES on MSP_RESOURCES (PROJ_ID,RES_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_RESOURCES on MSP_RESOURCES (PROJ_ID,RES_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=284, stmt=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' stmt_with_params = ' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_RESOURCE_RATES on MSP_RESOURCE_RATES (PROJ_ID,RR_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=79, stmt='create unique index I_MSP_RESOURCE_RATES on MSP_RESOURCE_RATES (PROJ_ID,RR_UID)' stmt_with_params = 'create unique index I_MSP_RESOURCE_RATES on MSP_RESOURCE_RATES (PROJ_ID,RR_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_RESOURCE_RATES on MSP_RESOURCE_RATES (PROJ_ID,RR_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=168, stmt=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' stmt_with_params = ' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_AVAILABILITY on MSP_AVAILABILITY (PROJ_ID,AVAIL_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=78, stmt='create unique index I_MSP_AVAILABILITY on MSP_AVAILABILITY (PROJ_ID,AVAIL_UID)' stmt_with_params = 'create unique index I_MSP_AVAILABILITY on MSP_AVAILABILITY (PROJ_ID,AVAIL_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_AVAILABILITY on MSP_AVAILABILITY (PROJ_ID,AVAIL_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDARS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=184, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDARS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDARS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDARS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6238cc valusMax=128 pcb=0 bound buffer[0] = 6437068 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=623bcc valusMax=128 pcb=0 bound buffer[1] = 6437836 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6239cc valusMax=128 pcb=0 bound buffer[2] = 6437324 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625da0 valusMax=40 pcb=625e40 bound buffer[0] = 6446496 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495216 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_CALENDARS ( RESERVED_DATA char(1), PROJ_ID int4 , CAL_UID int4 , CAL_BASE_UID int4 , RES_UID int4 , CAL_IS_BASE_CAL char , CAL_NAME varchar ( 255 ) ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=171, stmt=' create table MSP_CALENDARS ( RESERVED_DATA char(1), PROJ_ID int4 , CAL_UID int4 , CAL_BASE_UID int4 , RES_UID int4 , CAL_IS_BASE_CAL char , CAL_NAME varchar ( 255 ) ) ' stmt_with_params = ' create table MSP_CALENDARS ( RESERVED_DATA char(1), PROJ_ID int4 , CAL_UID int4 , CAL_BASE_UID int4 , RES_UID int4 , CAL_IS_BASE_CAL char , CAL_NAME varchar ( 255 ) ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_CALENDARS ( RESERVED_DATA char(1), PROJ_ID int4 , CAL_UID int4 , CAL_BASE_UID int4 , RES_UID int4 , CAL_IS_BASE_CAL char , CAL_NAME varchar ( 255 ) ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_CALENDARS on MSP_CALENDARS (PROJ_ID,CAL_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=70, stmt='create unique index I_MSP_CALENDARS on MSP_CALENDARS (PROJ_ID,CAL_UID)' stmt_with_params = 'create unique index I_MSP_CALENDARS on MSP_CALENDARS (PROJ_ID,CAL_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_CALENDARS on MSP_CALENDARS (PROJ_ID,CAL_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=434, stmt=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' stmt_with_params = ' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_CALENDAR_DATA on MSP_CALENDAR_DATA (PROJ_ID,CD_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=77, stmt='create unique index I_MSP_CALENDAR_DATA on MSP_CALENDAR_DATA (PROJ_ID,CD_UID)' stmt_with_params = 'create unique index I_MSP_CALENDAR_DATA on MSP_CALENDAR_DATA (PROJ_ID,CD_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_CALENDAR_DATA on MSP_CALENDAR_DATA (PROJ_ID,CD_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=175, stmt=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' stmt_with_params = ' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_FIELD_ATTRIBUTES on MSP_FIELD_ATTRIBUTES (PROJ_ID,ATTRIB_FIELD_ID,ATTRIB_ID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=102, stmt='create unique index I_MSP_FIELD_ATTRIBUTES on MSP_FIELD_ATTRIBUTES (PROJ_ID,ATTRIB_FIELD_ID,ATTRIB_ID)' stmt_with_params = 'create unique index I_MSP_FIELD_ATTRIBUTES on MSP_FIELD_ATTRIBUTES (PROJ_ID,ATTRIB_FIELD_ID,ATTRIB_ID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_FIELD_ATTRIBUTES on MSP_FIELD_ATTRIBUTES (PROJ_ID,ATTRIB_FIELD_ID,ATTRIB_ID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=138, stmt=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' stmt_with_params = ' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_ATTRIBUTE_STRINGS on MSP_ATTRIBUTE_STRINGS (PROJ_ID,AS_ID,AS_POSITION)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=96, stmt='create unique index I_MSP_ATTRIBUTE_STRINGS on MSP_ATTRIBUTE_STRINGS (PROJ_ID,AS_ID,AS_POSITION)' stmt_with_params = 'create unique index I_MSP_ATTRIBUTE_STRINGS on MSP_ATTRIBUTE_STRINGS (PROJ_ID,AS_ID,AS_POSITION)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_ATTRIBUTE_STRINGS on MSP_ATTRIBUTE_STRINGS (PROJ_ID,AS_ID,AS_POSITION)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ASSIGNMENTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=186, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ASSIGNMENTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ASSIGNMENTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ASSIGNMENTS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6238c4 valusMax=128 pcb=0 bound buffer[0] = 6437060 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=623bc4 valusMax=128 pcb=0 bound buffer[1] = 6437828 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6239c4 valusMax=128 pcb=0 bound buffer[2] = 6437316 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625d98 valusMax=40 pcb=625e38 bound buffer[0] = 6446488 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495200 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_ASSIGNMENTS ( RESERVED_DATA char(1), PROJ_ID int4 , ASSN_ACT_FINISH datetime , ASSN_ACT_START datetime , ASSN_ACWP float8 , ASSN_BCWP float8 , ASSN_BCWS float8 , ASSN_RES_TYPE char , ASSN_IS_OVERALLOCATED char , ASSN_WORK_CONTOUR int2 , ASSN_START_VAR int4 , ASSN_FINISH_VAR int4 , ASSN_UPDATE_NEEDED char , EXT_EDIT_REF_DATA varchar ( 255 ) , ASSN_UID int4 , ASSN_HAS_LINKED_FIELDS char , ASSN_IS_CONFIRMED char , ASSN_RESPONSE_PENDING char , ASSN_HAS_NOTES char , ASSN_TEAM_STATUS_PENDING char , TASK_UID int4 , RES_UID int4 , ASSN_START_DATE datetime , ASSN_FINISH_DATE datetime , ASSN_DELAY int4 , ASSN_DELAY_FMT int2 , ASSN_LEVELING_DELAY int4 , ASSN_COST_RATE_TABLE int2 , ASSN_BASE_START datetime , ASSN_BASE_FINISH datetime , ASSN_MATERIAL_RATE_FMT int2 , ASSN_UNITS float8 , ASSN_WORK float8 , ASSN_ACT_WORK float8 , ASSN_REG_WORK float8 , ASSN_REM_WORK float8 , ASSN_BASE_WORK float8 , ASSN_COST float8 , ASSN_ACT_COST float8 , ASSN_REM_COST float8 , ASSN_BASE_COST float8 , ASSN_BASE_COST_PER_USE float8 , ASSN_OVT_WORK float8 , ASSN_ACT_OVT_WORK float8 , ASSN_REM_OVT_WORK float8 , ASSN_ACT_OVT_COST float8 , ASSN_REM_OVT_COST float8 , ASSN_RTF_NOTES lo ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=1189, stmt=' create table MSP_ASSIGNMENTS ( RESERVED_DATA char(1), PROJ_ID int4 , ASSN_ACT_FINISH datetime , ASSN_ACT_START datetime , ASSN_ACWP float8 , ASSN_BCWP float8 , ASSN_BCWS float8 , ASSN_RES_TYPE char , ASSN_IS_OVERALLOCATED char , ASSN_WORK_CONTOUR int2 , ASSN_START_VAR int4 , ASSN_FINISH_VAR int4 , ASSN_UPDATE_NEEDED char , EXT_EDIT_REF_DATA varchar ( 255 ) , ASSN_UID int4 , ASSN_HAS_LINKED_FIELDS char , ASSN_IS_CONFIRMED char , ASSN_RESPONSE_PENDING char , ASSN_HAS_NOTES char , ASSN_TEAM_STATUS_PENDING char , TASK_UID int4 , RES_UID int4 , ASSN_START_DATE datetime , ASSN_FINISH_DATE datetime , ASSN_DELAY int4 , ASSN_DELAY_FMT int2 , ASSN_LEVELING_DELAY int4 , ASSN_COST_RATE_TABLE int2 , ASSN_BASE_START datetime , ASSN_BASE_FINISH datetime , ASSN_MATERIAL_RATE_FMT int2 , ASSN_UNITS float8 , ASSN_WORK float8 , ASSN_ACT_WORK float8 , ASSN_REG_WORK float8 , ASSN_REM_WORK float8 , ASSN_BASE_WORK float8 , ASSN_COST float8 , ASSN_ACT_COST float8 , ASSN_REM_COST float8 , ASSN_BASE_COST float8 , ASSN_BASE_COST_PER_USE float8 , ASSN_OVT_WORK float8 , ASSN_ACT_OVT_WORK float8 , ASSN_REM_OVT_WORK float8 , ASSN_ACT_OVT_COST float8 , ASSN_REM_OVT_COST float8 , ASSN_RTF_NOTES lo ) ' stmt_with_params = ' create table MSP_ASSIGNMENTS ( RESERVED_DATA char(1), PROJ_ID int4 , ASSN_ACT_FINISH datetime , ASSN_ACT_START datetime , ASSN_ACWP float8 , ASSN_BCWP float8 , ASSN_BCWS float8 , ASSN_RES_TYPE char , ASSN_IS_OVERALLOCATED char , ASSN_WORK_CONTOUR int2 , ASSN_START_VAR int4 , ASSN_FINISH_VAR int4 , ASSN_UPDATE_NEEDED char , EXT_EDIT_REF_DATA varchar ( 255 ) , ASSN_UID int4 , ASSN_HAS_LINKED_FIELDS char , ASSN_IS_CONFIRMED char , ASSN_RESPONSE_PENDING char , ASSN_HAS_NOTES char , ASSN_TEAM_STATUS_PENDING char , TASK_UID int4 , RES_UID int4 , ASSN_START_DATE datetime , ASSN_FINISH_DATE datetime , ASSN_DELAY int4 , ASSN_DELAY_FMT int2 , ASSN_LEVELING_DELAY int4 , ASSN_COST_RATE_TABLE int2 , ASSN_BASE_START datetime , ASSN_BASE_FINISH datetime , ASSN_MATERIAL_RATE_FMT int2 , ASSN_UNITS float8 , ASSN_WORK float8 , ASSN_ACT_WORK float8 , ASSN_REG_WORK float8 , ASSN_REM_WORK float8 , ASSN_BASE_WORK float8 , ASSN_COST float8 , ASSN_ACT_COST float8 , ASSN_REM_COST float8 , ASSN_BASE_COST float8 , ASSN_BASE_COST_PER_USE float8 , ASSN_OVT_WORK float8 , ASSN_ACT_OVT_WORK float8 , ASSN_REM_OVT_WORK float8 , ASSN_ACT_OVT_COST float8 , ASSN_REM_OVT_COST float8 , ASSN_RTF_NOTES lo ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_ASSIGNMENTS ( RESERVED_DATA char(1), PROJ_ID int4 , ASSN_ACT_FINISH datetime , ASSN_ACT_START datetime , ASSN_ACWP float8 , ASSN_BCWP float8 , ASSN_BCWS float8 , ASSN_RES_TYPE char , ASSN_IS_OVERALLOCATED char , ASSN_WORK_CONTOUR int2 , ASSN_START_VAR int4 , ASSN_FINISH_VAR int4 , ASSN_UPDATE_NEEDED char , EXT_EDIT_REF_DATA varchar ( 255 ) , ASSN_UID int4 , ASSN_HAS_LINKED_FIELDS char , ASSN_IS_CONFIRMED char , ASSN_RESPONSE_PENDING char , ASSN_HAS_NOTES char , ASSN_TEAM_STATUS_PENDING char , TASK_UID int4 , RES_UID int4 , ASSN_START_DATE datetime , ASSN_FINISH_DATE datetime , ASSN_DELAY int4 , ASSN_DELAY_FMT int2 , ASSN_LEVELING_DELAY int4 , ASSN_COST_RATE_TABLE int2 , ASSN_BASE_START datetime , ASSN_BASE_FINISH datetime , ASSN_MATERIAL_RATE_FMT int2 , ASSN_UNITS float8 , ASSN_WORK float8 , ASSN_ACT_WORK float8 , ASSN_REG_WORK float8 , ASSN_REM_WORK float8 , ASSN_BASE_WORK float8 , ASSN_COST float8 , ASSN_ACT_COST float8 , ASSN_REM_COST float8 , ASSN_BASE_COST float8 , ASSN_BASE_COST_PER_USE float8 , ASSN_OVT_WORK float8 , ASSN_ACT_OVT_WORK float8 , ASSN_REM_OVT_WORK float8 , ASSN_ACT_OVT_COST float8 , ASSN_REM_OVT_COST float8 , ASSN_RTF_NOTES lo ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_ASSIGNMENTS on MSP_ASSIGNMENTS (PROJ_ID,ASSN_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=75, stmt='create unique index I_MSP_ASSIGNMENTS on MSP_ASSIGNMENTS (PROJ_ID,ASSN_UID)' stmt_with_params = 'create unique index I_MSP_ASSIGNMENTS on MSP_ASSIGNMENTS (PROJ_ID,ASSN_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_ASSIGNMENTS on MSP_ASSIGNMENTS (PROJ_ID,ASSN_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_LINKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=180, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_LINKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_LINKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_LINKS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495424 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495424 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6238e0 valusMax=128 pcb=0 bound buffer[0] = 6437088 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=623be0 valusMax=128 pcb=0 bound buffer[1] = 6437856 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6239e0 valusMax=128 pcb=0 bound buffer[2] = 6437344 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495424 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625db4 valusMax=40 pcb=625e54 bound buffer[0] = 6446516 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495232 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_LINKS ( RESERVED_DATA char(1), PROJ_ID int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , LINK_UID int4 , LINK_IS_CROSS_PROJ char , LINK_PRED_UID int4 , LINK_SUCC_UID int4 , LINK_TYPE int2 , LINK_LAG_FMT int2 , LINK_LAG int4 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=240, stmt=' create table MSP_LINKS ( RESERVED_DATA char(1), PROJ_ID int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , LINK_UID int4 , LINK_IS_CROSS_PROJ char , LINK_PRED_UID int4 , LINK_SUCC_UID int4 , LINK_TYPE int2 , LINK_LAG_FMT int2 , LINK_LAG int4 ) ' stmt_with_params = ' create table MSP_LINKS ( RESERVED_DATA char(1), PROJ_ID int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , LINK_UID int4 , LINK_IS_CROSS_PROJ char , LINK_PRED_UID int4 , LINK_SUCC_UID int4 , LINK_TYPE int2 , LINK_LAG_FMT int2 , LINK_LAG int4 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_LINKS ( RESERVED_DATA char(1), PROJ_ID int4 , EXT_EDIT_REF_DATA varchar ( 255 ) , LINK_UID int4 , LINK_IS_CROSS_PROJ char , LINK_PRED_UID int4 , LINK_SUCC_UID int4 , LINK_TYPE int2 , LINK_LAG_FMT int2 , LINK_LAG int4 ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_LINKS on MSP_LINKS (PROJ_ID,LINK_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=63, stmt='create unique index I_MSP_LINKS on MSP_LINKS (PROJ_ID,LINK_UID)' stmt_with_params = 'create unique index I_MSP_LINKS on MSP_LINKS (PROJ_ID,LINK_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_LINKS on MSP_LINKS (PROJ_ID,LINK_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_OUTLINE_CODES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=188, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_OUTLINE_CODES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_OUTLINE_CODES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_OUTLINE_CODES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=6238e0 valusMax=128 pcb=0 bound buffer[0] = 6437088 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=623be0 valusMax=128 pcb=0 bound buffer[1] = 6437856 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=6239e0 valusMax=128 pcb=0 bound buffer[2] = 6437344 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625db4 valusMax=40 pcb=625e54 bound buffer[0] = 6446516 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495232 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_OUTLINE_CODES ( RESERVED_DATA char(1), PROJ_ID int4 , CODE_UID int4 , OC_PARENT int4 , OC_FIELD_ID int4 , OC_NAME varchar ( 255 ) , OC_DESCRIPTION varchar ( 255 ) ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=187, stmt=' create table MSP_OUTLINE_CODES ( RESERVED_DATA char(1), PROJ_ID int4 , CODE_UID int4 , OC_PARENT int4 , OC_FIELD_ID int4 , OC_NAME varchar ( 255 ) , OC_DESCRIPTION varchar ( 255 ) ) ' stmt_with_params = ' create table MSP_OUTLINE_CODES ( RESERVED_DATA char(1), PROJ_ID int4 , CODE_UID int4 , OC_PARENT int4 , OC_FIELD_ID int4 , OC_NAME varchar ( 255 ) , OC_DESCRIPTION varchar ( 255 ) ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_OUTLINE_CODES ( RESERVED_DATA char(1), PROJ_ID int4 , CODE_UID int4 , OC_PARENT int4 , OC_FIELD_ID int4 , OC_NAME varchar ( 255 ) , OC_DESCRIPTION varchar ( 255 ) ) ' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37493008 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement='create unique index I_MSP_OUTLINE_CODES on MSP_OUTLINE_CODES (PROJ_ID,CODE_UID)' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=79, stmt='create unique index I_MSP_OUTLINE_CODES on MSP_OUTLINE_CODES (PROJ_ID,CODE_UID)' stmt_with_params = 'create unique index I_MSP_OUTLINE_CODES on MSP_OUTLINE_CODES (PROJ_ID,CODE_UID)' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query='create unique index I_MSP_OUTLINE_CODES on MSP_OUTLINE_CODES (PROJ_ID,CODE_UID)' send_query: done sending query read 9, global_socket_buffersize=4096 send_query: got id = 'C' send_query: ok - 'C' - CREATE in QR_Constructor exit QR_Constructor send_query: setting cmdbuffer = 'CREATE' send_query: returning res = 37495856 send_query: got id = 'Z' PGAPI_ExecDirect: returned 0 from PGAPI_Execute [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495712 CC_add_statement: self=36389440, stmt=37495712 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495712, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=189, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495712, cursor_name='SQL_CUR023C23A0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37495408 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37495408 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495712, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 1 **** : fCType=1 rgb=62353c valusMax=128 pcb=0 bound buffer[0] = 6436156 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 2 **** : fCType=1 rgb=62383c valusMax=128 pcb=0 bound buffer[1] = 6436924 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495712, icol = 3 **** : fCType=1 rgb=62363c valusMax=128 pcb=0 bound buffer[2] = 6436412 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495712, stmt->result= 37495408 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495712, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495712, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495712 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625a10 valusMax=40 pcb=625ab0 bound buffer[0] = 6445584 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495216 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=284, stmt=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' stmt_with_params = ' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_RESOURCE_RATES ( RESERVED_DATA char(1), PROJ_ID int4 , RR_UID int4 , RES_UID int4 , RR_RATE_TABLE int2 , RR_FROM_DATE datetime , RR_TO_DATE datetime , RR_STD_RATE float8 , RR_STD_RATE_FMT int2 , RR_OVT_RATE float8 , RR_OVT_RATE_FMT int2 , RR_PER_USE_COST float8 ) ' send_query: done sending query read 56, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_resource_rates' already exists in QR_Constructor exit QR_Constructor send_query: got id = 'Z' STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_resource_rates' already exists' PGAPI_ExecDirect: returned -1 from PGAPI_Execute [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_resource_rates' already exists# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_resource_rates' already exists' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495408 CC_add_statement: self=36389440, stmt=37495408 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495408, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=189, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495408, cursor_name='SQL_CUR023C2270' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_RESOURCE_RATES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495408, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 1 **** : fCType=1 rgb=622e2c valusMax=128 pcb=0 bound buffer[0] = 6434348 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 2 **** : fCType=1 rgb=62312c valusMax=128 pcb=0 bound buffer[1] = 6435116 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 3 **** : fCType=1 rgb=622f2c valusMax=128 pcb=0 bound buffer[2] = 6434604 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495408, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495408, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495408, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495408 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625300 valusMax=40 pcb=6253a0 bound buffer[0] = 6443776 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495008 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495408 CC_add_statement: self=36389440, stmt=37495408 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495408, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=187, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495408, cursor_name='SQL_CUR023C2270' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495408, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 1 **** : fCType=1 rgb=62353c valusMax=128 pcb=0 bound buffer[0] = 6436156 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 2 **** : fCType=1 rgb=62383c valusMax=128 pcb=0 bound buffer[1] = 6436924 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495408, icol = 3 **** : fCType=1 rgb=62363c valusMax=128 pcb=0 bound buffer[2] = 6436412 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495408, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495408, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495408, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495408 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625a10 valusMax=40 pcb=625ab0 bound buffer[0] = 6445584 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495008 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=168, stmt=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' stmt_with_params = ' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_AVAILABILITY ( RESERVED_DATA char(1), PROJ_ID int4 , AVAIL_UID int4 , RES_UID int4 , AVAIL_FROM datetime , AVAIL_TO datetime , AVAIL_UNITS float8 ) ' send_query: done sending query read 54, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_availability' already exists in QR_Constructor exit QR_Constructor send_query: got id = 'Z' STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_availability' already exists' PGAPI_ExecDirect: returned -1 from PGAPI_Execute [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_availability' already exists# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_availability' already exists' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495520 CC_add_statement: self=36389440, stmt=37495520 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495520, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=187, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495520, cursor_name='SQL_CUR023C22E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_AVAILABILITY' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495520, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 1 **** : fCType=1 rgb=622e2c valusMax=128 pcb=0 bound buffer[0] = 6434348 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 2 **** : fCType=1 rgb=62312c valusMax=128 pcb=0 bound buffer[1] = 6435116 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 3 **** : fCType=1 rgb=622f2c valusMax=128 pcb=0 bound buffer[2] = 6434604 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495520, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495520, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495520, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495520 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625300 valusMax=40 pcb=6253a0 bound buffer[0] = 6443776 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495120 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495520 CC_add_statement: self=36389440, stmt=37495520 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495520, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=188, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495520, cursor_name='SQL_CUR023C22E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495520, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 1 **** : fCType=1 rgb=623528 valusMax=128 pcb=0 bound buffer[0] = 6436136 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 2 **** : fCType=1 rgb=623828 valusMax=128 pcb=0 bound buffer[1] = 6436904 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 3 **** : fCType=1 rgb=623628 valusMax=128 pcb=0 bound buffer[2] = 6436392 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495520, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495520, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495520, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495520 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6259fc valusMax=40 pcb=625a9c bound buffer[0] = 6445564 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495120 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=434, stmt=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' stmt_with_params = ' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_CALENDAR_DATA ( RESERVED_DATA char(1), PROJ_ID int4 , CD_UID int4 , CAL_UID int4 , CD_DAY_OR_EXCEPTION int2 , CD_WORKING int2 , CD_FROM_DATE datetime , CD_TO_DATE datetime , CD_FROM_TIME1 datetime , CD_TO_TIME1 datetime , CD_FROM_TIME2 datetime , CD_TO_TIME2 datetime , CD_FROM_TIME3 datetime , CD_TO_TIME3 datetime , CD_FROM_TIME4 datetime , CD_TO_TIME4 datetime , CD_FROM_TIME5 datetime , CD_TO_TIME5 datetime ) ' send_query: done sending query read 55, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_calendar_data' already exists in QR_Constructor exit QR_Constructor send_query: got id = 'Z' STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_calendar_data' already exists' PGAPI_ExecDirect: returned -1 from PGAPI_Execute [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_calendar_data' already exists# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_calendar_data' already exists' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495264 CC_add_statement: self=36389440, stmt=37495264 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495264, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=188, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495264, cursor_name='SQL_CUR023C21E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_CALENDAR_DATA' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495264, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 1 **** : fCType=1 rgb=622e18 valusMax=128 pcb=0 bound buffer[0] = 6434328 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 2 **** : fCType=1 rgb=623118 valusMax=128 pcb=0 bound buffer[1] = 6435096 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 3 **** : fCType=1 rgb=622f18 valusMax=128 pcb=0 bound buffer[2] = 6434584 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495264, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495264, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495264, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495264 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=6252ec valusMax=40 pcb=62538c bound buffer[0] = 6443756 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37494864 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495264 CC_add_statement: self=36389440, stmt=37495264 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495264, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=191, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495264, cursor_name='SQL_CUR023C21E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495264, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 1 **** : fCType=1 rgb=62353c valusMax=128 pcb=0 bound buffer[0] = 6436156 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 2 **** : fCType=1 rgb=62383c valusMax=128 pcb=0 bound buffer[1] = 6436924 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495264, icol = 3 **** : fCType=1 rgb=62363c valusMax=128 pcb=0 bound buffer[2] = 6436412 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495264, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495264, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495264, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495264 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625a10 valusMax=40 pcb=625ab0 bound buffer[0] = 6445584 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37494864 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=175, stmt=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' stmt_with_params = ' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_FIELD_ATTRIBUTES ( RESERVED_DATA char(1), PROJ_ID int4 , ATTRIB_FIELD_ID int4 , ATTRIB_ID int4 , ATTRIB_VALUE int4 , AS_ID int4 , ATTRIB_EXT_EDITED char ) ' send_query: done sending query read 58, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_field_attributes' already exists in QR_Constructor exit QR_Constructor send_query: got id = 'Z' STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_field_attributes' already exists' PGAPI_ExecDirect: returned -1 from PGAPI_Execute [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_field_attributes' already exists# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_field_attributes' already exists' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495520 CC_add_statement: self=36389440, stmt=37495520 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495520, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=191, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495520, cursor_name='SQL_CUR023C22E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_FIELD_ATTRIBUTES' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495520, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 1 **** : fCType=1 rgb=622e2c valusMax=128 pcb=0 bound buffer[0] = 6434348 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 2 **** : fCType=1 rgb=62312c valusMax=128 pcb=0 bound buffer[1] = 6435116 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 3 **** : fCType=1 rgb=622f2c valusMax=128 pcb=0 bound buffer[2] = 6434604 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495520, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495520, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495520, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495520 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625300 valusMax=40 pcb=6253a0 bound buffer[0] = 6443776 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495120 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495520 CC_add_statement: self=36389440, stmt=37495520 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495520, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=192, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495520, cursor_name='SQL_CUR023C22E0' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495520, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 1 **** : fCType=1 rgb=62353c valusMax=128 pcb=0 bound buffer[0] = 6436156 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 2 **** : fCType=1 rgb=62383c valusMax=128 pcb=0 bound buffer[1] = 6436924 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495520, icol = 3 **** : fCType=1 rgb=62363c valusMax=128 pcb=0 bound buffer[2] = 6436412 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495520, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495520, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495520, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495520 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625a10 valusMax=40 pcb=625ab0 bound buffer[0] = 6445584 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495120 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLExecDirect]PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37490048, statement=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=138, stmt=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' stmt_with_params = ' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' it's NOT a select statement: stmt=37490048 send_query(): conn=36389440, query=' create table MSP_ATTRIBUTE_STRINGS ( RESERVED_DATA char(1), PROJ_ID int4 , AS_ID int4 , AS_POSITION int4 , AS_VALUE varchar ( 255 ) ) ' send_query: done sending query read 59, global_socket_buffersize=4096 send_query: got id = 'E' send_query: 'E' - ERROR: Relation 'msp_attribute_strings' already exists in QR_Constructor exit QR_Constructor send_query: got id = 'Z' STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while executing the query' CONN ERROR: func=SC_execute, desc='', errnum=110, errmsg='ERROR: Relation 'msp_attribute_strings' already exists' PGAPI_ExecDirect: returned -1 from PGAPI_Execute [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> SC_get_error: status = 7, msg = #Error while executing the query; ERROR: Relation 'msp_attribute_strings' already exists# szSqlState = 'S1000', szError='Error while executing the query; ERROR: Relation 'msp_attribute_strings' already exists' [SQLError]**** PGAPI_Error: henv=0, hdbc=0, hstmt=37490048 <512> returning NO_DATA_FOUND [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048 [SQLSetStmtOption]PGAPI_SetStmtOption: entering... SetStmtOption(): SQL_CONCURRENCY = 1 [SQLTables]PGAPI_Tables: entering...stmt=37490048 PGAPI_AllocStmt: entering... **** PGAPI_AllocStmt: hdbc = 36389440, stmt = 37495552 CC_add_statement: self=36389440, stmt=37495552 PGAPI_ExecDirect: entering... **** PGAPI_ExecDirect: hstmt=37495552, statement='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' PGAPI_ExecDirect: calling PGAPI_Execute... PGAPI_Execute: entering... PGAPI_Execute: clear errors... PGAPI_Execute: copying statement params: trans_status=1, len=192, stmt='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' stmt_with_params = 'select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' Sending SELECT statement on stmt=37495552, cursor_name='SQL_CUR023C2300' send_query(): conn=36389440, query='select relname, usename, relkind from pg_class, pg_user where relkind in ('r', 'v') and relname like 'MSP_ATTRIBUTE_STRINGS' and relname !~ '^pg_|^dd_' and usesysid = relowner order by relname' send_query: done sending query read 73, global_socket_buffersize=4096 send_query: got id = 'P' send_query: got id = 'T' in QR_Constructor exit QR_Constructor send_query: 'T' no result_in: res = 37493008 QR_fetch_tuples: cursor = '', self->cursor=0 num_fields = 3 READING ATTTYPMOD CI_read_fields: fieldname='relname', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='usename', adtid=19, adtsize=32, atttypmod=-1 READING ATTTYPMOD CI_read_fields: fieldname='relkind', adtid=18, adtsize=1, atttypmod=-1 QR_fetch_tuples: past CI_read_fields: num_fields = 3 MALLOC: tuple_size = 100, size = 2400 next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101 end of tuple list -- setting inUse to false: this = 37493008 _next_tuple: 'C': DONE (fcount == 0) send_query: got id = 'Z' done sending the query: extend_bindings: entering ... stmt=37495552, bindings_allocated=0, num_columns=3 exit extend_bindings PGAPI_ExecDirect: returned 0 from PGAPI_Execute PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495552, icol = 1 **** : fCType=1 rgb=622e2c valusMax=128 pcb=0 bound buffer[0] = 6434348 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495552, icol = 2 **** : fCType=1 rgb=62312c valusMax=128 pcb=0 bound buffer[1] = 6435116 PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37495552, icol = 3 **** : fCType=1 rgb=622f2c valusMax=128 pcb=0 bound buffer[2] = 6434604 in QR_Constructor exit QR_Constructor extend_bindings: entering ... stmt=37490048, bindings_allocated=15, num_columns=5 exit extend_bindings in QR_set_num_fields in TL_Constructor exit TL_Constructor exit QR_set_num_fields PGAPI_Fetch: stmt = 37495552, stmt->result= 37493008 manual_result = 0, use_declarefetch = 0 PGAPI_FreeStmt: entering...hstmt=37495552, fOption=1 QResult: in DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_Destructor: self=37495552, self->result=0, self->hdbc=36389440 SC_free_params: ENTER, self=37495552 SC_Destructor: EXIT PGAPI_Tables: EXIT, stmt=37490048 [SQLBindCol]PGAPI_BindCol: entering... **** PGAPI_BindCol: stmt = 37490048, icol = 1 **** : fCType=1 rgb=625300 valusMax=40 pcb=6253a0 bound buffer[0] = 6443776 [SQLFetch]PGAPI_Fetch: stmt = 37490048, stmt->result= 37495152 manual_result = 1, use_declarefetch = 0 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=2 [SQLFreeStmt]PGAPI_FreeStmt: entering...hstmt=37490048, fOption=0 recycle statement: self= 37490048 QResult: in DESTRUCTOR TupleList: in DESTRUCTOR TupleList: exit DESTRUCTOR QResult: free memory in, fcount=0 QResult: free memory out QResult: exit DESTRUCTOR SC_free_params: ENTER, self=37490048