Re: Problem with exec sql include

Поиск
Список
Период
Сортировка
От Carmen Gloria Sepulveda Dedes
Тема Re: Problem with exec sql include
Дата
Msg-id 3FBB8B8F.FE0ACA2@atichile.com
обсуждение исходный текст
Ответ на Problem with exec sql include  (Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>)
Ответы Re: Problem with exec sql include
Список pgsql-general
Thanks for you suggestion.

In the test.pgc file, I do:

   EXEC SQL BEGIN DECLARE SECTION;
        exec sql include test;
        struct_cursor t_cursor;
   EXEC SQL END DECLARE SECTION;

... and it works fine.  It is correct????

Thank you again.

CG


> ECPG does not parse anything outside EXEC SQL blocks, so how else should
> it lear about your struct definition? You can of course use a EXEC SQL
> TYPE command to define it for ECPG as well.


В списке pgsql-general по дате отправления:

Предыдущее
От: Johan Fredrik Øhman
Дата:
Сообщение: Storing a chain
Следующее
От: "Rob Sell"
Дата:
Сообщение: Re: 7.4 broke psql