95{
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116#line 9 "dynalloc.pgc"
117 int * d1 = 0 ;
118
119#line 10 "dynalloc.pgc"
120 double * d2 = 0 ;
121
122#line 11 "dynalloc.pgc"
123 char ** d3 = 0 ;
124
125#line 12 "dynalloc.pgc"
126 char ** d4 = 0 ;
127
128#line 13 "dynalloc.pgc"
129 char ** d5 = 0 ;
130
131#line 14 "dynalloc.pgc"
132 char ** d6 = 0 ;
133
134#line 15 "dynalloc.pgc"
135 char ** d7 = 0 ;
136
137#line 17 "dynalloc.pgc"
138 char ** d9 = 0 ;
139
140#line 18 "dynalloc.pgc"
141 int * i1 = 0 ;
142
143#line 19 "dynalloc.pgc"
144 int * i2 = 0 ;
145
146#line 20 "dynalloc.pgc"
147 int * i3 = 0 ;
148
149#line 21 "dynalloc.pgc"
150 int * i4 = 0 ;
151
152#line 22 "dynalloc.pgc"
153 int * i5 = 0 ;
154
155#line 23 "dynalloc.pgc"
156 int * i6 = 0 ;
157
158#line 24 "dynalloc.pgc"
159 int * i7 = 0 ;
160
161#line 26 "dynalloc.pgc"
162 int * i9 = 0 ;
163
164#line 27 "dynalloc.pgc"
165
167
169
170
171#line 32 "dynalloc.pgc"
172
173 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
174#line 33 "dynalloc.pgc"
175
177#line 33 "dynalloc.pgc"
178
179
181#line 35 "dynalloc.pgc"
182
184#line 35 "dynalloc.pgc"
185
186
187 {
ECPGdo(__LINE__, 0, 1, NULL, 0,
ECPGst_normal,
"create table test ( a serial , b numeric ( 12 , 3 ) , c varchar , d varchar ( 3 ) , e char ( 4 ) , f timestamptz , g boolean , h box , i inet )",
ECPGt_EOIT,
ECPGt_EORT);
188#line 37 "dynalloc.pgc"
189
191#line 37 "dynalloc.pgc"
192
193 {
ECPGdo(__LINE__, 0, 1, NULL, 0,
ECPGst_normal,
"insert into test ( b , c , d , e , f , g , h , i ) values ( 23.456 , 'varchar' , 'v' , 'c' , '2003-03-03 12:33:07 PDT' , true , '(1,2,3,4)' , '2001:4f8:3:ba:2e0:81ff:fe22:d1f1/128' )",
ECPGt_EOIT,
ECPGt_EORT);
194#line 38 "dynalloc.pgc"
195
197#line 38 "dynalloc.pgc"
198
199 {
ECPGdo(__LINE__, 0, 1, NULL, 0,
ECPGst_normal,
"insert into test ( b , c , d , e , f , g , h , i ) values ( 2.446456 , null , 'v' , 'c' , '2003-03-03 12:33:07 PDT' , false , null , null )",
ECPGt_EOIT,
ECPGt_EORT);
200#line 39 "dynalloc.pgc"
201
203#line 39 "dynalloc.pgc"
204
205
207#line 41 "dynalloc.pgc"
208
210#line 41 "dynalloc.pgc"
211
212 {
ECPGdo(__LINE__, 0, 1, NULL, 0,
ECPGst_normal,
"select a , b , c , d , e , f , g , h , i from test order by a",
ECPGt_EOIT,
215#line 42 "dynalloc.pgc"
216
218#line 42 "dynalloc.pgc"
219
223
224#line 43 "dynalloc.pgc"
225
227#line 43 "dynalloc.pgc"
228
232
233#line 44 "dynalloc.pgc"
234
236#line 44 "dynalloc.pgc"
237
241
242#line 45 "dynalloc.pgc"
243
245#line 45 "dynalloc.pgc"
246
250
251#line 46 "dynalloc.pgc"
252
254#line 46 "dynalloc.pgc"
255
259
260#line 47 "dynalloc.pgc"
261
263#line 47 "dynalloc.pgc"
264
268
269#line 48 "dynalloc.pgc"
270
272#line 48 "dynalloc.pgc"
273
277
278#line 49 "dynalloc.pgc"
279
281#line 49 "dynalloc.pgc"
282
283
284
288
289#line 52 "dynalloc.pgc"
290
292#line 52 "dynalloc.pgc"
293
294
297 {
300
303
306
309
312
315
318
321
323 }
326
328#line 86 "dynalloc.pgc"
329
331#line 86 "dynalloc.pgc"
332
334#line 87 "dynalloc.pgc"
335
337#line 87 "dynalloc.pgc"
338
339 return 0;
340}
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
bool ECPGdeallocate_desc(int line, const char *name)
bool ECPGget_desc(int lineno, const char *desc_name, int index,...)
bool ECPGallocate_desc(int line, const char *name)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
void ECPGfree_auto_mem(void)