|
2 | 2 | [NO_PID]: sqlca: code: 0, state: 00000
|
3 | 3 | [NO_PID]: ECPGconnect: opening database regress1 on <DEFAULT> port <DEFAULT>
|
4 | 4 | [NO_PID]: sqlca: code: 0, state: 00000
|
5 |
| -[NO_PID]: ecpg_execute on line 36: query: create table empl ( idnum integer , name char ( 20 ) , accs smallint , byte bytea ); with 0 parameter(s) on connection regress1 |
| 5 | +[NO_PID]: ecpg_execute on line 36: query: set bytea_output = escape; with 0 parameter(s) on connection regress1 |
6 | 6 | [NO_PID]: sqlca: code: 0, state: 00000
|
7 | 7 | [NO_PID]: ecpg_execute on line 36: using PQexec
|
8 | 8 | [NO_PID]: sqlca: code: 0, state: 00000
|
9 |
| -[NO_PID]: ecpg_execute on line 36: OK: CREATE TABLE |
| 9 | +[NO_PID]: ecpg_execute on line 36: OK: SET |
10 | 10 | [NO_PID]: sqlca: code: 0, state: 00000
|
11 |
| -[NO_PID]: ecpg_execute on line 44: query: insert into empl values ( 1 , 'first user' , 320 , $1 ); with 1 parameter(s) on connection regress1 |
| 11 | +[NO_PID]: ecpg_execute on line 43: query: create table empl ( idnum integer , name char ( 20 ) , accs smallint , byte bytea ); with 0 parameter(s) on connection regress1 |
12 | 12 | [NO_PID]: sqlca: code: 0, state: 00000
|
13 |
| -[NO_PID]: ecpg_execute on line 44: using PQexecParams |
| 13 | +[NO_PID]: ecpg_execute on line 43: using PQexec |
14 | 14 | [NO_PID]: sqlca: code: 0, state: 00000
|
15 |
| -[NO_PID]: free_params on line 44: parameter 1 = \001\155\000\212 |
| 15 | +[NO_PID]: ecpg_execute on line 43: OK: CREATE TABLE |
16 | 16 | [NO_PID]: sqlca: code: 0, state: 00000
|
17 |
| -[NO_PID]: ecpg_execute on line 44: OK: INSERT 0 1 |
| 17 | +[NO_PID]: ecpg_execute on line 51: query: insert into empl values ( 1 , 'first user' , 320 , $1 ); with 1 parameter(s) on connection regress1 |
18 | 18 | [NO_PID]: sqlca: code: 0, state: 00000
|
19 |
| -[NO_PID]: ecpg_execute on line 52: query: declare C cursor for select name , accs , byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
| 19 | +[NO_PID]: ecpg_execute on line 51: using PQexecParams |
20 | 20 | [NO_PID]: sqlca: code: 0, state: 00000
|
21 |
| -[NO_PID]: ecpg_execute on line 52: using PQexecParams |
| 21 | +[NO_PID]: free_params on line 51: parameter 1 = \001\155\000\212 |
22 | 22 | [NO_PID]: sqlca: code: 0, state: 00000
|
23 |
| -[NO_PID]: free_params on line 52: parameter 1 = 1 |
| 23 | +[NO_PID]: ecpg_execute on line 51: OK: INSERT 0 1 |
24 | 24 | [NO_PID]: sqlca: code: 0, state: 00000
|
25 |
| -[NO_PID]: ecpg_execute on line 52: OK: DECLARE CURSOR |
| 25 | +[NO_PID]: ecpg_execute on line 59: query: declare C cursor for select name , accs , byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
26 | 26 | [NO_PID]: sqlca: code: 0, state: 00000
|
27 |
| -[NO_PID]: ecpg_execute on line 53: query: fetch C; with 0 parameter(s) on connection regress1 |
| 27 | +[NO_PID]: ecpg_execute on line 59: using PQexecParams |
28 | 28 | [NO_PID]: sqlca: code: 0, state: 00000
|
29 |
| -[NO_PID]: ecpg_execute on line 53: using PQexec |
| 29 | +[NO_PID]: free_params on line 59: parameter 1 = 1 |
30 | 30 | [NO_PID]: sqlca: code: 0, state: 00000
|
31 |
| -[NO_PID]: ecpg_execute on line 53: correctly got 1 tuples with 3 fields |
| 31 | +[NO_PID]: ecpg_execute on line 59: OK: DECLARE CURSOR |
32 | 32 | [NO_PID]: sqlca: code: 0, state: 00000
|
33 |
| -[NO_PID]: ecpg_get_data on line 53: RESULT: first user offset: -1; array: yes |
| 33 | +[NO_PID]: ecpg_execute on line 60: query: fetch C; with 0 parameter(s) on connection regress1 |
34 | 34 | [NO_PID]: sqlca: code: 0, state: 00000
|
35 |
| -[NO_PID]: ecpg_get_data on line 53: RESULT: 320 offset: -1; array: yes |
| 35 | +[NO_PID]: ecpg_execute on line 60: using PQexec |
36 | 36 | [NO_PID]: sqlca: code: 0, state: 00000
|
37 |
| -[NO_PID]: ecpg_get_data on line 53: RESULT: \001m\000\212 offset: -1; array: yes |
| 37 | +[NO_PID]: ecpg_execute on line 60: correctly got 1 tuples with 3 fields |
38 | 38 | [NO_PID]: sqlca: code: 0, state: 00000
|
39 |
| -[NO_PID]: ecpg_execute on line 64: query: declare B binary cursor for select name , accs , byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
| 39 | +[NO_PID]: ecpg_get_data on line 60: RESULT: first user offset: -1; array: yes |
40 | 40 | [NO_PID]: sqlca: code: 0, state: 00000
|
41 |
| -[NO_PID]: ecpg_execute on line 64: using PQexecParams |
| 41 | +[NO_PID]: ecpg_get_data on line 60: RESULT: 320 offset: -1; array: yes |
42 | 42 | [NO_PID]: sqlca: code: 0, state: 00000
|
43 |
| -[NO_PID]: free_params on line 64: parameter 1 = 1 |
| 43 | +[NO_PID]: ecpg_get_data on line 60: RESULT: \001m\000\212 offset: -1; array: yes |
44 | 44 | [NO_PID]: sqlca: code: 0, state: 00000
|
45 |
| -[NO_PID]: ecpg_execute on line 64: OK: DECLARE CURSOR |
| 45 | +[NO_PID]: ecpg_execute on line 71: query: declare B binary cursor for select name , accs , byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
46 | 46 | [NO_PID]: sqlca: code: 0, state: 00000
|
47 |
| -[NO_PID]: ecpg_execute on line 65: query: fetch B; with 0 parameter(s) on connection regress1 |
| 47 | +[NO_PID]: ecpg_execute on line 71: using PQexecParams |
48 | 48 | [NO_PID]: sqlca: code: 0, state: 00000
|
49 |
| -[NO_PID]: ecpg_execute on line 65: using PQexec |
| 49 | +[NO_PID]: free_params on line 71: parameter 1 = 1 |
50 | 50 | [NO_PID]: sqlca: code: 0, state: 00000
|
51 |
| -[NO_PID]: ecpg_execute on line 65: correctly got 1 tuples with 3 fields |
| 51 | +[NO_PID]: ecpg_execute on line 71: OK: DECLARE CURSOR |
52 | 52 | [NO_PID]: sqlca: code: 0, state: 00000
|
53 |
| -[NO_PID]: ecpg_get_data on line 65: RESULT: BINARY offset: -1; array: yes |
| 53 | +[NO_PID]: ecpg_execute on line 72: query: fetch B; with 0 parameter(s) on connection regress1 |
54 | 54 | [NO_PID]: sqlca: code: 0, state: 00000
|
55 |
| -[NO_PID]: ecpg_get_data on line 65: RESULT: BINARY offset: -1; array: yes |
| 55 | +[NO_PID]: ecpg_execute on line 72: using PQexec |
56 | 56 | [NO_PID]: sqlca: code: 0, state: 00000
|
57 |
| -[NO_PID]: ecpg_get_data on line 65: RESULT: BINARY offset: -1; array: yes |
| 57 | +[NO_PID]: ecpg_execute on line 72: correctly got 1 tuples with 3 fields |
58 | 58 | [NO_PID]: sqlca: code: 0, state: 00000
|
59 |
| -[NO_PID]: ecpg_execute on line 72: query: close B; with 0 parameter(s) on connection regress1 |
| 59 | +[NO_PID]: ecpg_get_data on line 72: RESULT: BINARY offset: -1; array: yes |
60 | 60 | [NO_PID]: sqlca: code: 0, state: 00000
|
61 |
| -[NO_PID]: ecpg_execute on line 72: using PQexec |
| 61 | +[NO_PID]: ecpg_get_data on line 72: RESULT: BINARY offset: -1; array: yes |
62 | 62 | [NO_PID]: sqlca: code: 0, state: 00000
|
63 |
| -[NO_PID]: ecpg_execute on line 72: OK: CLOSE CURSOR |
| 63 | +[NO_PID]: ecpg_get_data on line 72: RESULT: BINARY offset: -1; array: yes |
64 | 64 | [NO_PID]: sqlca: code: 0, state: 00000
|
65 |
| -[NO_PID]: ecpg_execute on line 81: query: declare A binary cursor for select byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
| 65 | +[NO_PID]: ecpg_execute on line 79: query: close B; with 0 parameter(s) on connection regress1 |
66 | 66 | [NO_PID]: sqlca: code: 0, state: 00000
|
67 |
| -[NO_PID]: ecpg_execute on line 81: using PQexecParams |
| 67 | +[NO_PID]: ecpg_execute on line 79: using PQexec |
68 | 68 | [NO_PID]: sqlca: code: 0, state: 00000
|
69 |
| -[NO_PID]: free_params on line 81: parameter 1 = 1 |
| 69 | +[NO_PID]: ecpg_execute on line 79: OK: CLOSE CURSOR |
70 | 70 | [NO_PID]: sqlca: code: 0, state: 00000
|
71 |
| -[NO_PID]: ecpg_execute on line 81: OK: DECLARE CURSOR |
| 71 | +[NO_PID]: ecpg_execute on line 88: query: declare A binary cursor for select byte from empl where idnum = $1 ; with 1 parameter(s) on connection regress1 |
72 | 72 | [NO_PID]: sqlca: code: 0, state: 00000
|
73 |
| -[NO_PID]: ecpg_execute on line 82: query: fetch A; with 0 parameter(s) on connection regress1 |
| 73 | +[NO_PID]: ecpg_execute on line 88: using PQexecParams |
74 | 74 | [NO_PID]: sqlca: code: 0, state: 00000
|
75 |
| -[NO_PID]: ecpg_execute on line 82: using PQexec |
| 75 | +[NO_PID]: free_params on line 88: parameter 1 = 1 |
76 | 76 | [NO_PID]: sqlca: code: 0, state: 00000
|
77 |
| -[NO_PID]: ecpg_execute on line 82: correctly got 1 tuples with 1 fields |
| 77 | +[NO_PID]: ecpg_execute on line 88: OK: DECLARE CURSOR |
78 | 78 | [NO_PID]: sqlca: code: 0, state: 00000
|
79 |
| -[NO_PID]: ecpg_store_result on line 82: allocating memory for 1 tuples |
| 79 | +[NO_PID]: ecpg_execute on line 89: query: fetch A; with 0 parameter(s) on connection regress1 |
80 | 80 | [NO_PID]: sqlca: code: 0, state: 00000
|
81 |
| -[NO_PID]: ecpg_get_data on line 82: RESULT: BINARY offset: -1; array: yes |
| 81 | +[NO_PID]: ecpg_execute on line 89: using PQexec |
82 | 82 | [NO_PID]: sqlca: code: 0, state: 00000
|
83 |
| -[NO_PID]: ecpg_execute on line 89: query: close A; with 0 parameter(s) on connection regress1 |
| 83 | +[NO_PID]: ecpg_execute on line 89: correctly got 1 tuples with 1 fields |
84 | 84 | [NO_PID]: sqlca: code: 0, state: 00000
|
85 |
| -[NO_PID]: ecpg_execute on line 89: using PQexec |
| 85 | +[NO_PID]: ecpg_store_result on line 89: allocating memory for 1 tuples |
| 86 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 87 | +[NO_PID]: ecpg_get_data on line 89: RESULT: BINARY offset: -1; array: yes |
| 88 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 89 | +[NO_PID]: ecpg_execute on line 96: query: close A; with 0 parameter(s) on connection regress1 |
| 90 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 91 | +[NO_PID]: ecpg_execute on line 96: using PQexec |
86 | 92 | [NO_PID]: sqlca: code: 0, state: 00000
|
87 |
| -[NO_PID]: ecpg_execute on line 89: OK: CLOSE CURSOR |
| 93 | +[NO_PID]: ecpg_execute on line 96: OK: CLOSE CURSOR |
88 | 94 | [NO_PID]: sqlca: code: 0, state: 00000
|
89 | 95 | [NO_PID]: ecpg_finish: connection regress1 closed
|
90 | 96 | [NO_PID]: sqlca: code: 0, state: 00000
|
0 commit comments