| 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 26: query: create table emp ( ename varchar , sal double precision , comm double precision ); with 0 parameter(s) on connection ecpg1_regression |
| 6 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 7 |
[NO_PID]: ecpg_execute on line 26: using PQexec |
| 8 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 9 |
[NO_PID]: ecpg_process_output on line 26: OK: CREATE TABLE |
| 10 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 11 |
[NO_PID]: ecpg_execute on line 29: query: insert into emp values ( 'Ram' , 111100 , 21 ); with 0 parameter(s) on connection ecpg1_regression |
| 12 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 13 |
[NO_PID]: ecpg_execute on line 29: using PQexec |
| 14 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 15 |
[NO_PID]: ecpg_process_output on line 29: OK: INSERT 0 1 |
| 16 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 17 |
[NO_PID]: ecpg_execute on line 30: query: insert into emp values ( 'aryan' , 11110 , null ); with 0 parameter(s) on connection ecpg1_regression |
| 18 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 19 |
[NO_PID]: ecpg_execute on line 30: using PQexec |
| 20 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 21 |
[NO_PID]: ecpg_process_output on line 30: OK: INSERT 0 1 |
| 22 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 23 |
[NO_PID]: ecpg_execute on line 31: query: insert into emp values ( 'josh' , 10000 , 10 ); with 0 parameter(s) on connection ecpg1_regression |
| 24 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 25 |
[NO_PID]: ecpg_execute on line 31: using PQexec |
| 26 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 27 |
[NO_PID]: ecpg_process_output on line 31: OK: INSERT 0 1 |
| 28 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 29 |
[NO_PID]: ecpg_execute on line 32: query: insert into emp values ( 'tom' , 20000 , null ); with 0 parameter(s) on connection ecpg1_regression |
| 30 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 31 |
[NO_PID]: ecpg_execute on line 32: using PQexec |
| 32 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 33 |
[NO_PID]: ecpg_process_output on line 32: OK: INSERT 0 1 |
| 34 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 35 |
[NO_PID]: ecpg_execute on line 36: query: declare c cursor for select ename , sal , comm from emp order by ename collate "C" asc; with 0 parameter(s) on connection ecpg1_regression |
| 36 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 37 |
[NO_PID]: ecpg_execute on line 36: using PQexec |
| 38 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 39 |
[NO_PID]: ecpg_process_output on line 36: OK: DECLARE CURSOR |
| 40 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 41 |
[NO_PID]: ecpg_execute on line 46: query: fetch c; with 0 parameter(s) on connection ecpg1_regression |
| 42 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 43 |
[NO_PID]: ecpg_execute on line 46: using PQexec |
| 44 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 45 |
[NO_PID]: ecpg_process_output on line 46: correctly got 1 tuples with 3 fields |
| 46 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 47 |
[NO_PID]: ecpg_get_data on line 46: RESULT: Ram offset: -1; array: no |
| 48 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 49 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 111100 offset: -1; array: no |
| 50 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 51 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 21 offset: -1; array: no |
| 52 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 53 |
[NO_PID]: ecpg_execute on line 46: query: fetch c; with 0 parameter(s) on connection ecpg1_regression |
| 54 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 55 |
[NO_PID]: ecpg_execute on line 46: using PQexec |
| 56 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 57 |
[NO_PID]: ecpg_process_output on line 46: correctly got 1 tuples with 3 fields |
| 58 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 59 |
[NO_PID]: ecpg_get_data on line 46: RESULT: aryan offset: -1; array: no |
| 60 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 61 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 11110 offset: -1; array: no |
| 62 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 63 |
[NO_PID]: ecpg_get_data on line 46: RESULT: offset: -1; array: no |
| 64 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 65 |
[NO_PID]: raising sqlcode -213 on line 46: null value without indicator on line 46 |
| 66 |
[NO_PID]: sqlca: code: -213, state: 22002 |
| 67 |
[NO_PID]: ecpg_execute on line 46: query: fetch c; with 0 parameter(s) on connection ecpg1_regression |
| 68 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 69 |
[NO_PID]: ecpg_execute on line 46: using PQexec |
| 70 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 71 |
[NO_PID]: ecpg_process_output on line 46: correctly got 1 tuples with 3 fields |
| 72 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 73 |
[NO_PID]: ecpg_get_data on line 46: RESULT: josh offset: -1; array: no |
| 74 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 75 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 10000 offset: -1; array: no |
| 76 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 77 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 10 offset: -1; array: no |
| 78 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 79 |
[NO_PID]: ecpg_execute on line 46: query: fetch c; with 0 parameter(s) on connection ecpg1_regression |
| 80 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 81 |
[NO_PID]: ecpg_execute on line 46: using PQexec |
| 82 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 83 |
[NO_PID]: ecpg_process_output on line 46: correctly got 1 tuples with 3 fields |
| 84 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 85 |
[NO_PID]: ecpg_get_data on line 46: RESULT: tom offset: -1; array: no |
| 86 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 87 |
[NO_PID]: ecpg_get_data on line 46: RESULT: 20000 offset: -1; array: no |
| 88 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 89 |
[NO_PID]: ecpg_get_data on line 46: RESULT: offset: -1; array: no |
| 90 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 91 |
[NO_PID]: raising sqlcode -213 on line 46: null value without indicator on line 46 |
| 92 |
[NO_PID]: sqlca: code: -213, state: 22002 |
| 93 |
[NO_PID]: ecpg_execute on line 46: query: fetch c; with 0 parameter(s) on connection ecpg1_regression |
| 94 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 95 |
[NO_PID]: ecpg_execute on line 46: using PQexec |
| 96 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 97 |
[NO_PID]: ecpg_process_output on line 46: correctly got 0 tuples with 3 fields |
| 98 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 99 |
[NO_PID]: raising sqlcode 100 on line 46: no data found on line 46 |
| 100 |
[NO_PID]: sqlca: code: 100, state: 02000 |
| 101 |
[NO_PID]: ecpg_execute on line 57: query: close c; with 0 parameter(s) on connection ecpg1_regression |
| 102 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 103 |
[NO_PID]: ecpg_execute on line 57: using PQexec |
| 104 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 105 |
[NO_PID]: ecpg_process_output on line 57: OK: CLOSE CURSOR |
| 106 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 107 |
[NO_PID]: ecpg_execute on line 60: query: drop table emp; with 0 parameter(s) on connection ecpg1_regression |
| 108 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 109 |
[NO_PID]: ecpg_execute on line 60: using PQexec |
| 110 |
[NO_PID]: sqlca: code: 0, state: 00000 |
| 111 |
[NO_PID]: ecpg_process_output on line 60: OK: DROP TABLE |
| 112 |
[NO_PID]: sqlca: code: 0, state: 00000 |