1[NO_PID]: ECPGdebug: set to 1 2[NO_PID]: sqlca: code: 0, state: 00000 3[NO_PID]: ECPGconnect: opening database ecpg1_regression on <DEFAULT> port <DEFAULT> 4[NO_PID]: sqlca: code: 0, state: 00000 5[NO_PID]: ecpg_execute on line 25: query: create table test ( name char ( 8 ) , amount int , letter char ( 1 ) ); with 0 parameter(s) on connection main 6[NO_PID]: sqlca: code: 0, state: 00000 7[NO_PID]: ecpg_execute on line 25: using PQexec 8[NO_PID]: sqlca: code: 0, state: 00000 9[NO_PID]: ecpg_process_output on line 25: OK: CREATE TABLE 10[NO_PID]: sqlca: code: 0, state: 00000 11[NO_PID]: ECPGtrans on line 26: action "commit"; connection "main" 12[NO_PID]: sqlca: code: 0, state: 00000 13[NO_PID]: ecpg_execute on line 29: query: insert into test (name, "amount", letter) values ('db: ''r1''', 1, 'f'); with 0 parameter(s) on connection main 14[NO_PID]: sqlca: code: 0, state: 00000 15[NO_PID]: ecpg_execute on line 29: using PQexec 16[NO_PID]: sqlca: code: 0, state: 00000 17[NO_PID]: ecpg_process_output on line 29: OK: INSERT 0 1 18[NO_PID]: sqlca: code: 0, state: 00000 19[NO_PID]: ecpg_execute on line 32: query: insert into test (name, amount, letter) values ('db: ''r1''', 2, 't'); with 0 parameter(s) on connection main 20[NO_PID]: sqlca: code: 0, state: 00000 21[NO_PID]: ecpg_execute on line 32: using PQexec 22[NO_PID]: sqlca: code: 0, state: 00000 23[NO_PID]: ecpg_process_output on line 32: OK: INSERT 0 1 24[NO_PID]: sqlca: code: 0, state: 00000 25[NO_PID]: ecpg_execute on line 35: query: insert into test (name, amount, letter) select name, amount+10, letter from test; with 0 parameter(s) on connection main 26[NO_PID]: sqlca: code: 0, state: 00000 27[NO_PID]: ecpg_execute on line 35: using PQexec 28[NO_PID]: sqlca: code: 0, state: 00000 29[NO_PID]: ecpg_process_output on line 35: OK: INSERT 0 2 30[NO_PID]: sqlca: code: 0, state: 00000 31[NO_PID]: prepare_common on line 40: name i; query: "insert into test (name, amount, letter) select name, amount+$1, letter from test" 32[NO_PID]: sqlca: code: 0, state: 00000 33[NO_PID]: ecpg_execute on line 41: query: insert into test (name, amount, letter) select name, amount+$1, letter from test; with 1 parameter(s) on connection main 34[NO_PID]: sqlca: code: 0, state: 00000 35[NO_PID]: ecpg_execute on line 41: using PQexecPrepared for "insert into test (name, amount, letter) select name, amount+$1, letter from test" 36[NO_PID]: sqlca: code: 0, state: 00000 37[NO_PID]: ecpg_free_params on line 41: parameter 1 = 100 38[NO_PID]: sqlca: code: 0, state: 00000 39[NO_PID]: ecpg_process_output on line 41: OK: INSERT 0 4 40[NO_PID]: sqlca: code: 0, state: 00000 41[NO_PID]: ECPGtrans on line 45: action "commit"; connection "main" 42[NO_PID]: sqlca: code: 0, state: 00000 43[NO_PID]: prepare_common on line 49: name f; query: "select * from test" 44[NO_PID]: sqlca: code: 0, state: 00000 45[NO_PID]: ecpg_execute on line 52: query: declare CUR cursor for select * from test; with 0 parameter(s) on connection main 46[NO_PID]: sqlca: code: 0, state: 00000 47[NO_PID]: ecpg_execute on line 52: using PQexec 48[NO_PID]: sqlca: code: 0, state: 00000 49[NO_PID]: ecpg_process_output on line 52: OK: DECLARE CURSOR 50[NO_PID]: sqlca: code: 0, state: 00000 51[NO_PID]: ecpg_execute on line 53: query: fetch 8 in CUR; with 0 parameter(s) on connection main 52[NO_PID]: sqlca: code: 0, state: 00000 53[NO_PID]: ecpg_execute on line 53: using PQexec 54[NO_PID]: sqlca: code: 0, state: 00000 55[NO_PID]: ecpg_process_output on line 53: correctly got 8 tuples with 3 fields 56[NO_PID]: sqlca: code: 0, state: 00000 57[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 58[NO_PID]: sqlca: code: 0, state: 00000 59[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 60[NO_PID]: sqlca: code: 0, state: 00000 61[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 62[NO_PID]: sqlca: code: 0, state: 00000 63[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 64[NO_PID]: sqlca: code: 0, state: 00000 65[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 66[NO_PID]: sqlca: code: 0, state: 00000 67[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 68[NO_PID]: sqlca: code: 0, state: 00000 69[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 70[NO_PID]: sqlca: code: 0, state: 00000 71[NO_PID]: ecpg_get_data on line 53: RESULT: db: 'r1' offset: -1; array: no 72[NO_PID]: sqlca: code: 0, state: 00000 73[NO_PID]: ecpg_get_data on line 53: RESULT: 1 offset: -1; array: no 74[NO_PID]: sqlca: code: 0, state: 00000 75[NO_PID]: ecpg_get_data on line 53: RESULT: 2 offset: -1; array: no 76[NO_PID]: sqlca: code: 0, state: 00000 77[NO_PID]: ecpg_get_data on line 53: RESULT: 11 offset: -1; array: no 78[NO_PID]: sqlca: code: 0, state: 00000 79[NO_PID]: ecpg_get_data on line 53: RESULT: 12 offset: -1; array: no 80[NO_PID]: sqlca: code: 0, state: 00000 81[NO_PID]: ecpg_get_data on line 53: RESULT: 101 offset: -1; array: no 82[NO_PID]: sqlca: code: 0, state: 00000 83[NO_PID]: ecpg_get_data on line 53: RESULT: 102 offset: -1; array: no 84[NO_PID]: sqlca: code: 0, state: 00000 85[NO_PID]: ecpg_get_data on line 53: RESULT: 111 offset: -1; array: no 86[NO_PID]: sqlca: code: 0, state: 00000 87[NO_PID]: ecpg_get_data on line 53: RESULT: 112 offset: -1; array: no 88[NO_PID]: sqlca: code: 0, state: 00000 89[NO_PID]: ecpg_get_data on line 53: RESULT: f offset: -1; array: no 90[NO_PID]: sqlca: code: 0, state: 00000 91[NO_PID]: ecpg_get_data on line 53: RESULT: t offset: -1; array: no 92[NO_PID]: sqlca: code: 0, state: 00000 93[NO_PID]: ecpg_get_data on line 53: RESULT: f offset: -1; array: no 94[NO_PID]: sqlca: code: 0, state: 00000 95[NO_PID]: ecpg_get_data on line 53: RESULT: t offset: -1; array: no 96[NO_PID]: sqlca: code: 0, state: 00000 97[NO_PID]: ecpg_get_data on line 53: RESULT: f offset: -1; array: no 98[NO_PID]: sqlca: code: 0, state: 00000 99[NO_PID]: ecpg_get_data on line 53: RESULT: t offset: -1; array: no 100[NO_PID]: sqlca: code: 0, state: 00000 101[NO_PID]: ecpg_get_data on line 53: RESULT: f offset: -1; array: no 102[NO_PID]: sqlca: code: 0, state: 00000 103[NO_PID]: ecpg_get_data on line 53: RESULT: t offset: -1; array: no 104[NO_PID]: sqlca: code: 0, state: 00000 105[NO_PID]: ecpg_execute on line 66: query: close CUR; with 0 parameter(s) on connection main 106[NO_PID]: sqlca: code: 0, state: 00000 107[NO_PID]: ecpg_execute on line 66: using PQexec 108[NO_PID]: sqlca: code: 0, state: 00000 109[NO_PID]: ecpg_process_output on line 66: OK: CLOSE CURSOR 110[NO_PID]: sqlca: code: 0, state: 00000 111[NO_PID]: deallocate_one on line 67: name f 112[NO_PID]: sqlca: code: 0, state: 00000 113[NO_PID]: prepare_common on line 71: name f; query: "select * from test where amount = $1" 114[NO_PID]: sqlca: code: 0, state: 00000 115[NO_PID]: ecpg_execute on line 74: query: declare CUR2 cursor for select * from test where amount = $1; with 1 parameter(s) on connection main 116[NO_PID]: sqlca: code: 0, state: 00000 117[NO_PID]: ecpg_execute on line 74: using PQexecParams 118[NO_PID]: sqlca: code: 0, state: 00000 119[NO_PID]: ecpg_free_params on line 74: parameter 1 = 1 120[NO_PID]: sqlca: code: 0, state: 00000 121[NO_PID]: ecpg_process_output on line 74: OK: DECLARE CURSOR 122[NO_PID]: sqlca: code: 0, state: 00000 123[NO_PID]: ecpg_execute on line 75: query: fetch in CUR2; with 0 parameter(s) on connection main 124[NO_PID]: sqlca: code: 0, state: 00000 125[NO_PID]: ecpg_execute on line 75: using PQexec 126[NO_PID]: sqlca: code: 0, state: 00000 127[NO_PID]: ecpg_process_output on line 75: correctly got 1 tuples with 3 fields 128[NO_PID]: sqlca: code: 0, state: 00000 129[NO_PID]: ecpg_get_data on line 75: RESULT: db: 'r1' offset: -1; array: no 130[NO_PID]: sqlca: code: 0, state: 00000 131[NO_PID]: ecpg_get_data on line 75: RESULT: 1 offset: -1; array: no 132[NO_PID]: sqlca: code: 0, state: 00000 133[NO_PID]: ecpg_get_data on line 75: RESULT: f offset: -1; array: no 134[NO_PID]: sqlca: code: 0, state: 00000 135[NO_PID]: ecpg_execute on line 88: query: close CUR2; with 0 parameter(s) on connection main 136[NO_PID]: sqlca: code: 0, state: 00000 137[NO_PID]: ecpg_execute on line 88: using PQexec 138[NO_PID]: sqlca: code: 0, state: 00000 139[NO_PID]: ecpg_process_output on line 88: OK: CLOSE CURSOR 140[NO_PID]: sqlca: code: 0, state: 00000 141[NO_PID]: deallocate_one on line 89: name f 142[NO_PID]: sqlca: code: 0, state: 00000 143[NO_PID]: prepare_common on line 93: name f; query: "select * from test where amount = $1" 144[NO_PID]: sqlca: code: 0, state: 00000 145[NO_PID]: ecpg_execute on line 94: query: select * from test where amount = $1; with 1 parameter(s) on connection main 146[NO_PID]: sqlca: code: 0, state: 00000 147[NO_PID]: ecpg_execute on line 94: using PQexecPrepared for "select * from test where amount = $1" 148[NO_PID]: sqlca: code: 0, state: 00000 149[NO_PID]: ecpg_free_params on line 94: parameter 1 = 2 150[NO_PID]: sqlca: code: 0, state: 00000 151[NO_PID]: ecpg_process_output on line 94: correctly got 1 tuples with 3 fields 152[NO_PID]: sqlca: code: 0, state: 00000 153[NO_PID]: ecpg_get_data on line 94: RESULT: db: 'r1' offset: -1; array: no 154[NO_PID]: sqlca: code: 0, state: 00000 155[NO_PID]: ecpg_get_data on line 94: RESULT: 2 offset: -1; array: no 156[NO_PID]: sqlca: code: 0, state: 00000 157[NO_PID]: ecpg_get_data on line 94: RESULT: t offset: -1; array: no 158[NO_PID]: sqlca: code: 0, state: 00000 159[NO_PID]: deallocate_one on line 107: name f 160[NO_PID]: sqlca: code: 0, state: 00000 161[NO_PID]: ecpg_execute on line 108: query: drop table test; with 0 parameter(s) on connection main 162[NO_PID]: sqlca: code: 0, state: 00000 163[NO_PID]: ecpg_execute on line 108: using PQexec 164[NO_PID]: sqlca: code: 0, state: 00000 165[NO_PID]: ecpg_process_output on line 108: OK: DROP TABLE 166[NO_PID]: sqlca: code: 0, state: 00000 167[NO_PID]: ECPGtrans on line 109: action "commit"; connection "main" 168[NO_PID]: sqlca: code: 0, state: 00000 169[NO_PID]: deallocate_one on line 0: name i 170[NO_PID]: sqlca: code: 0, state: 00000 171[NO_PID]: ecpg_finish: connection main closed 172[NO_PID]: sqlca: code: 0, state: 00000 173