30{
31
32
33
34
35
36
37
38
39
40#line 12 "describe.pgc"
41 char *
stmt1 =
"SELECT id, t FROM t1" ;
42
43#line 13 "describe.pgc"
44 char *
stmt2 =
"SELECT id, t FROM t1 WHERE id = -1" ;
45
46#line 14 "describe.pgc"
48
49#line 15 "describe.pgc"
51
52#line 16 "describe.pgc"
54
55#line 17 "describe.pgc"
57
58#line 18 "describe.pgc"
60
61#line 19 "describe.pgc"
62
63
64 char msg[128];
65
67
70#line 26 "describe.pgc"
71
73#line 26 "describe.pgc"
74
75
78#line 29 "describe.pgc"
79
81#line 29 "describe.pgc"
82
83
86#line 32 "describe.pgc"
87
89#line 32 "describe.pgc"
90
91
93 {
ECPGdo(
__LINE__, 0, 1,
NULL, 0,
ECPGst_normal,
"insert into t1 ( id , t ) values ( default , 'a' )",
ECPGt_EOIT,
ECPGt_EORT);
94#line 35 "describe.pgc"
95
97#line 35 "describe.pgc"
98
99 {
ECPGdo(
__LINE__, 0, 1,
NULL, 0,
ECPGst_normal,
"insert into t1 ( id , t ) values ( default , 'b' )",
ECPGt_EOIT,
ECPGt_EORT);
100#line 36 "describe.pgc"
101
103#line 36 "describe.pgc"
104
105 {
ECPGdo(
__LINE__, 0, 1,
NULL, 0,
ECPGst_normal,
"insert into t1 ( id , t ) values ( default , 'c' )",
ECPGt_EOIT,
ECPGt_EORT);
106#line 37 "describe.pgc"
107
109#line 37 "describe.pgc"
110
111 {
ECPGdo(
__LINE__, 0, 1,
NULL, 0,
ECPGst_normal,
"insert into t1 ( id , t ) values ( default , 'd' )",
ECPGt_EOIT,
ECPGt_EORT);
112#line 38 "describe.pgc"
113
115#line 38 "describe.pgc"
116
117
120#line 41 "describe.pgc"
121
123#line 41 "describe.pgc"
124
125
126
127
128
129
130
133#line 49 "describe.pgc"
134
136#line 49 "describe.pgc"
137
139#line 50 "describe.pgc"
140
142#line 50 "describe.pgc"
143
145#line 51 "describe.pgc"
146
148#line 51 "describe.pgc"
149
151#line 52 "describe.pgc"
152
154#line 52 "describe.pgc"
155
156
159#line 55 "describe.pgc"
160
162#line 55 "describe.pgc"
163
164
169#line 58 "describe.pgc"
170
174#line 59 "describe.pgc"
175
179#line 60 "describe.pgc"
180
184#line 61 "describe.pgc"
185
186
187 strcpy(msg,
"get descriptor");
189
190#line 64 "describe.pgc"
191
193#line 64 "describe.pgc"
194
196
197#line 65 "describe.pgc"
198
200#line 65 "describe.pgc"
201
203
204#line 66 "describe.pgc"
205
207#line 66 "describe.pgc"
208
210
211#line 67 "describe.pgc"
212
214#line 67 "describe.pgc"
215
216
219
221 {
224
225#line 74 "describe.pgc"
226
228#line 74 "describe.pgc"
229
232
233#line 75 "describe.pgc"
234
236#line 75 "describe.pgc"
237
240
241#line 76 "describe.pgc"
242
244#line 76 "describe.pgc"
245
248
249#line 77 "describe.pgc"
250
252#line 77 "describe.pgc"
253
254 printf(
"field_name 1 '%s' 2 '%s' 3 '%s' 4 '%s'\n",
256 }
257
258 strcpy(msg,
"deallocate");
260#line 83 "describe.pgc"
261
263#line 83 "describe.pgc"
264
266#line 84 "describe.pgc"
267
269#line 84 "describe.pgc"
270
272#line 85 "describe.pgc"
273
275#line 85 "describe.pgc"
276
278#line 86 "describe.pgc"
279
281#line 86 "describe.pgc"
282
283
285#line 88 "describe.pgc"
286
288#line 88 "describe.pgc"
289
290
291
292
295#line 93 "describe.pgc"
296
298#line 93 "describe.pgc"
299
301#line 94 "describe.pgc"
302
304#line 94 "describe.pgc"
305
307#line 95 "describe.pgc"
308
310#line 95 "describe.pgc"
311
313#line 96 "describe.pgc"
314
316#line 96 "describe.pgc"
317
318
321#line 99 "describe.pgc"
322
324#line 99 "describe.pgc"
325
326
331#line 102 "describe.pgc"
332
336#line 103 "describe.pgc"
337
341#line 104 "describe.pgc"
342
346#line 105 "describe.pgc"
347
348
349 strcpy(msg,
"get descriptor");
351
352#line 108 "describe.pgc"
353
355#line 108 "describe.pgc"
356
358
359#line 109 "describe.pgc"
360
362#line 109 "describe.pgc"
363
365
366#line 110 "describe.pgc"
367
369#line 110 "describe.pgc"
370
372
373#line 111 "describe.pgc"
374
376#line 111 "describe.pgc"
377
378
381
383 {
386
387#line 118 "describe.pgc"
388
390#line 118 "describe.pgc"
391
394
395#line 119 "describe.pgc"
396
398#line 119 "describe.pgc"
399
402
403#line 120 "describe.pgc"
404
406#line 120 "describe.pgc"
407
410
411#line 121 "describe.pgc"
412
414#line 121 "describe.pgc"
415
416 printf(
"field_name 1 '%s' 2 '%s' 3 '%s' 4 '%s'\n",
418 }
419
420 strcpy(msg,
"deallocate");
422#line 127 "describe.pgc"
423
425#line 127 "describe.pgc"
426
428#line 128 "describe.pgc"
429
431#line 128 "describe.pgc"
432
434#line 129 "describe.pgc"
435
437#line 129 "describe.pgc"
438
440#line 130 "describe.pgc"
441
443#line 130 "describe.pgc"
444
445
447#line 132 "describe.pgc"
448
450#line 132 "describe.pgc"
451
452
453
454
455
458#line 138 "describe.pgc"
459
461#line 138 "describe.pgc"
462
463
466#line 141 "describe.pgc"
467
469#line 141 "describe.pgc"
470
471
472 strcpy(msg,
"disconnect");
474#line 144 "describe.pgc"
475
477#line 144 "describe.pgc"
478
479
480 return 0;
481}
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 ECPGdescribe(int line, int compat, bool input, const char *connection_name, const char *stmt_name,...)
bool ECPGget_desc_header(int lineno, const char *desc_name, int *count)
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,...)
bool ECPGtrans(int lineno, const char *connection_name, const char *transaction)
bool ECPGprepare(int lineno, const char *connection_name, const bool questionmarks, const char *name, const char *variable)
bool ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name)