Problem with ecpg

Поиск
Список
Период
Сортировка
Искать
От
Carmen Gloria Sepulveda Dedes
Тема
Problem with ecpg
Дата
Msg-id
3FA26304.12AE689B@atichile.com
Список
Дерево обсуждения
Re: Problem with ecpg Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>
Re: Problem with ecpg Michael Meskes <meskes@postgresql.org>
Hello.

I have a problem with ecpg precompiler.

In a code like:

****
main()
{
 .... some calls to EXEC SQL
 .... printf(" ... % ... \n, var_x);
 ....
}
****

... we omited a " at the printf statement (syntax error).

To compile, we do"ecpg code.pgc" and the standart output prints:
....
prueba.pgc:19: ERROR: Unterminated quoted identifier
prueba.pgc:19: ERROR: Unterminated quoted identifier
prueba.pgc:19: ERROR: Unterminated quoted identifier
prueba.pgc:19: ERROR: Unterminated quoted identifier
prueba.pgc:19: ERROR: Unterminated quoted identifier
....
in a loop (stop with ctrl-d).

When we compile with Workshop, this output go to a file in the /tmp
directory (a very big file).

The questions are:
It's a bug of ecpg o it's normal?
How can I resolve this?

Thanks.

CG

В списке pgsql-general по дате отправления
От: Shridhar Daithankar
Дата:
Сообщение: Re: ALTER Table
От: Tom Lane
Дата:
Сообщение: Re: slow query performance
FAQ