Re: Problem with exec sql include

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Problem with exec sql include
Дата
Msg-id 20031119184440.GA14561@feivel.fam-meskes.de
обсуждение исходный текст
Ответ на Re: Problem with exec sql include  (Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>)
Список pgsql-general
On Wed, Nov 19, 2003 at 12:26:07PM -0300, Carmen Gloria Sepulveda Dedes wrote:
> 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????

Depends on what test.h contains. ecpg has to learn the definition of
your struct somewhere.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Deibys Fernando Quintero
Дата:
Сообщение: Japanese and PostgreSQL
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: SuSE RPMs available for PostgreSQL 7.4