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 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 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]: ECPGtrans on line 27: action "commit"; connection "main"
12[NO_PID]: sqlca: code: 0, state: 00000
13[NO_PID]: ecpg_execute on line 30: 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 30: using PQexec
16[NO_PID]: sqlca: code: 0, state: 00000
17[NO_PID]: ecpg_process_output on line 30: OK: INSERT 0 1
18[NO_PID]: sqlca: code: 0, state: 00000
19[NO_PID]: ecpg_execute on line 33: 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 33: using PQexec
22[NO_PID]: sqlca: code: 0, state: 00000
23[NO_PID]: ecpg_process_output on line 33: OK: INSERT 0 1
24[NO_PID]: sqlca: code: 0, state: 00000
25[NO_PID]: ecpg_execute on line 36: 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 36: using PQexec
28[NO_PID]: sqlca: code: 0, state: 00000
29[NO_PID]: ecpg_process_output on line 36: OK: INSERT 0 2
30[NO_PID]: sqlca: code: 0, state: 00000
31[NO_PID]: prepare_common on line 41: 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 42: 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 42: 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 42: parameter 1 = 100
38[NO_PID]: sqlca: code: 0, state: 00000
39[NO_PID]: ecpg_process_output on line 42: OK: INSERT 0 4
40[NO_PID]: sqlca: code: 0, state: 00000
41[NO_PID]: ECPGtrans on line 46: action "commit"; connection "main"
42[NO_PID]: sqlca: code: 0, state: 00000
43[NO_PID]: prepare_common on line 50: name f; query: "select * from test"
44[NO_PID]: sqlca: code: 0, state: 00000
45[NO_PID]: ecpg_execute on line 53: 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 53: using PQexec
48[NO_PID]: sqlca: code: 0, state: 00000
49[NO_PID]: ecpg_process_output on line 53: OK: DECLARE CURSOR
50[NO_PID]: sqlca: code: 0, state: 00000
51[NO_PID]: ecpg_execute on line 54: 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 54: using PQexec
54[NO_PID]: sqlca: code: 0, state: 00000
55[NO_PID]: ecpg_process_output on line 54: correctly got 8 tuples with 3 fields
56[NO_PID]: sqlca: code: 0, state: 00000
57[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
58[NO_PID]: sqlca: code: 0, state: 00000
59[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
60[NO_PID]: sqlca: code: 0, state: 00000
61[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
62[NO_PID]: sqlca: code: 0, state: 00000
63[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
64[NO_PID]: sqlca: code: 0, state: 00000
65[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
66[NO_PID]: sqlca: code: 0, state: 00000
67[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
68[NO_PID]: sqlca: code: 0, state: 00000
69[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
70[NO_PID]: sqlca: code: 0, state: 00000
71[NO_PID]: ecpg_get_data on line 54: RESULT: db: 'r1' offset: -1; array: no
72[NO_PID]: sqlca: code: 0, state: 00000
73[NO_PID]: ecpg_get_data on line 54: RESULT: 1 offset: -1; array: no
74[NO_PID]: sqlca: code: 0, state: 00000
75[NO_PID]: ecpg_get_data on line 54: RESULT: 2 offset: -1; array: no
76[NO_PID]: sqlca: code: 0, state: 00000
77[NO_PID]: ecpg_get_data on line 54: RESULT: 11 offset: -1; array: no
78[NO_PID]: sqlca: code: 0, state: 00000
79[NO_PID]: ecpg_get_data on line 54: RESULT: 12 offset: -1; array: no
80[NO_PID]: sqlca: code: 0, state: 00000
81[NO_PID]: ecpg_get_data on line 54: RESULT: 101 offset: -1; array: no
82[NO_PID]: sqlca: code: 0, state: 00000
83[NO_PID]: ecpg_get_data on line 54: RESULT: 102 offset: -1; array: no
84[NO_PID]: sqlca: code: 0, state: 00000
85[NO_PID]: ecpg_get_data on line 54: RESULT: 111 offset: -1; array: no
86[NO_PID]: sqlca: code: 0, state: 00000
87[NO_PID]: ecpg_get_data on line 54: RESULT: 112 offset: -1; array: no
88[NO_PID]: sqlca: code: 0, state: 00000
89[NO_PID]: ecpg_get_data on line 54: RESULT: f offset: -1; array: no
90[NO_PID]: sqlca: code: 0, state: 00000
91[NO_PID]: ecpg_get_data on line 54: RESULT: t offset: -1; array: no
92[NO_PID]: sqlca: code: 0, state: 00000
93[NO_PID]: ecpg_get_data on line 54: RESULT: f offset: -1; array: no
94[NO_PID]: sqlca: code: 0, state: 00000
95[NO_PID]: ecpg_get_data on line 54: RESULT: t offset: -1; array: no
96[NO_PID]: sqlca: code: 0, state: 00000
97[NO_PID]: ecpg_get_data on line 54: RESULT: f offset: -1; array: no
98[NO_PID]: sqlca: code: 0, state: 00000
99[NO_PID]: ecpg_get_data on line 54: RESULT: t offset: -1; array: no
100[NO_PID]: sqlca: code: 0, state: 00000
101[NO_PID]: ecpg_get_data on line 54: RESULT: f offset: -1; array: no
102[NO_PID]: sqlca: code: 0, state: 00000
103[NO_PID]: ecpg_get_data on line 54: RESULT: t offset: -1; array: no
104[NO_PID]: sqlca: code: 0, state: 00000
105[NO_PID]: ecpg_execute on line 65: 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 65: using PQexec
108[NO_PID]: sqlca: code: 0, state: 00000
109[NO_PID]: ecpg_process_output on line 65: OK: CLOSE CURSOR
110[NO_PID]: sqlca: code: 0, state: 00000
111[NO_PID]: deallocate_one on line 69: name f
112[NO_PID]: sqlca: code: 0, state: 00000
113[NO_PID]: prepare_common on line 69: name f; query: "select * from test where $1 = amount"
114[NO_PID]: sqlca: code: 0, state: 00000
115[NO_PID]: ecpg_execute on line 72: query: declare CUR3 cursor for select * from test where $1 = amount; with 1 parameter(s) on connection main
116[NO_PID]: sqlca: code: 0, state: 00000
117[NO_PID]: ecpg_execute on line 72: using PQexecParams
118[NO_PID]: sqlca: code: 0, state: 00000
119[NO_PID]: ecpg_free_params on line 72: parameter 1 = 1
120[NO_PID]: sqlca: code: 0, state: 00000
121[NO_PID]: ecpg_process_output on line 72: OK: DECLARE CURSOR
122[NO_PID]: sqlca: code: 0, state: 00000
123[NO_PID]: ecpg_execute on line 73: query: fetch in CUR3; with 0 parameter(s) on connection main
124[NO_PID]: sqlca: code: 0, state: 00000
125[NO_PID]: ecpg_execute on line 73: using PQexec
126[NO_PID]: sqlca: code: 0, state: 00000
127[NO_PID]: ecpg_process_output on line 73: correctly got 1 tuples with 3 fields
128[NO_PID]: sqlca: code: 0, state: 00000
129[NO_PID]: ecpg_get_data on line 73: RESULT: db: 'r1' offset: -1; array: no
130[NO_PID]: sqlca: code: 0, state: 00000
131[NO_PID]: ecpg_get_data on line 73: RESULT: 1 offset: -1; array: no
132[NO_PID]: sqlca: code: 0, state: 00000
133[NO_PID]: ecpg_get_data on line 73: RESULT: f offset: -1; array: no
134[NO_PID]: sqlca: code: 0, state: 00000
135[NO_PID]: ecpg_execute on line 84: query: close CUR3; with 0 parameter(s) on connection main
136[NO_PID]: sqlca: code: 0, state: 00000
137[NO_PID]: ecpg_execute on line 84: using PQexec
138[NO_PID]: sqlca: code: 0, state: 00000
139[NO_PID]: ecpg_process_output on line 84: OK: CLOSE CURSOR
140[NO_PID]: sqlca: code: 0, state: 00000
141[NO_PID]: ecpg_execute on line 85: query: drop table test; with 0 parameter(s) on connection main
142[NO_PID]: sqlca: code: 0, state: 00000
143[NO_PID]: ecpg_execute on line 85: using PQexec
144[NO_PID]: sqlca: code: 0, state: 00000
145[NO_PID]: ecpg_process_output on line 85: OK: DROP TABLE
146[NO_PID]: sqlca: code: 0, state: 00000
147[NO_PID]: ECPGtrans on line 86: action "commit"; connection "main"
148[NO_PID]: sqlca: code: 0, state: 00000
149[NO_PID]: deallocate_one on line 0: name f
150[NO_PID]: sqlca: code: 0, state: 00000
151[NO_PID]: deallocate_one on line 0: name i
152[NO_PID]: sqlca: code: 0, state: 00000
153[NO_PID]: ecpg_finish: connection main closed
154[NO_PID]: sqlca: code: 0, state: 00000
155