116 #line 9 "dynalloc.pgc"
119 #line 10 "dynalloc.pgc"
122 #line 11 "dynalloc.pgc"
125 #line 12 "dynalloc.pgc"
128 #line 13 "dynalloc.pgc"
131 #line 14 "dynalloc.pgc"
134 #line 15 "dynalloc.pgc"
137 #line 17 "dynalloc.pgc"
140 #line 18 "dynalloc.pgc"
143 #line 19 "dynalloc.pgc"
146 #line 20 "dynalloc.pgc"
149 #line 21 "dynalloc.pgc"
152 #line 22 "dynalloc.pgc"
155 #line 23 "dynalloc.pgc"
158 #line 24 "dynalloc.pgc"
161 #line 26 "dynalloc.pgc"
164 #line 27 "dynalloc.pgc"
171 #line 32 "dynalloc.pgc"
173 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0);
174 #line 33 "dynalloc.pgc"
177 #line 33 "dynalloc.pgc"
181 #line 35 "dynalloc.pgc"
184 #line 35 "dynalloc.pgc"
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"
191 #line 37 "dynalloc.pgc"
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"
197 #line 38 "dynalloc.pgc"
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"
203 #line 39 "dynalloc.pgc"
207 #line 41 "dynalloc.pgc"
210 #line 41 "dynalloc.pgc"
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"
218 #line 42 "dynalloc.pgc"
224 #line 43 "dynalloc.pgc"
227 #line 43 "dynalloc.pgc"
233 #line 44 "dynalloc.pgc"
236 #line 44 "dynalloc.pgc"
242 #line 45 "dynalloc.pgc"
245 #line 45 "dynalloc.pgc"
251 #line 46 "dynalloc.pgc"
254 #line 46 "dynalloc.pgc"
260 #line 47 "dynalloc.pgc"
263 #line 47 "dynalloc.pgc"
269 #line 48 "dynalloc.pgc"
272 #line 48 "dynalloc.pgc"
278 #line 49 "dynalloc.pgc"
281 #line 49 "dynalloc.pgc"
289 #line 52 "dynalloc.pgc"
292 #line 52 "dynalloc.pgc"
328 #line 86 "dynalloc.pgc"
331 #line 86 "dynalloc.pgc"
334 #line 87 "dynalloc.pgc"
337 #line 87 "dynalloc.pgc"
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)