Re: ERROR: invalid datatype 'FILE'
От | Amish |
---|---|
Тема | Re: ERROR: invalid datatype 'FILE' |
Дата | |
Msg-id | 1296618900504-3367328.post@n5.nabble.com обсуждение исходный текст |
Ответ на | ERROR: invalid datatype 'FILE' (Amish <amish.pandya@in.com>) |
Список | pgsql-novice |
Thanks for the reply ESQL/C is informix utility. ESQL/C is an SQL application programming interface (API) that enables developers to embed Structured Query Language (SQL) statements directly into a C program. This is quite similer to ECPG. The problem i am facing is bit different. When i remove "FILE *fp" from declare section (ie. BEGIN DECLARE and END DECLARE) and put outside of declare section the program compiles successfully. e.g #include <stdlib.h> #include <stdio.h> EXEC SQL BEGIN DECLARE SECTION; struct rid_ds { double de_re_rid; double de_re_xrid; } dbinfo_t; dbinfo_t dbval; EXEC SQL END DECLARE SECTION; FILE *fp; main() { printf("Test Program :\n"); } -- View this message in context: http://postgresql.1045698.n5.nabble.com/ERROR-invalid-datatype-FILE-tp3365733p3367328.html Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
В списке pgsql-novice по дате отправления: