Re: [INTERFACES] facing problem with ecpg

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [INTERFACES] facing problem with ecpg
Дата
Msg-id 36C3CBEA.CDD7ABDB@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [INTERFACES] facing problem with ecpg  (Michael Meskes <Michael_Meskes@topmail.de>)
Ответы Re: [INTERFACES] facing problem with ecpg  (Michael Meskes <Michael_Meskes@topmail.de>)
Список pgsql-interfaces
> The exec sql should be there after running ecpg. ecpg is a
> preprocessor. You have to feed you're source (should be named file.pgc
> BTW) through ecpg before running cc. That is:
>  ecpg tryecpg.pgc
>  cc -o tryecpg tryecpg.c -lecpg -lpq

Michael, could you add a short section with this info to your ecpg sgml
documentation? Also, perhaps you would want to include an example on how
to set up a makefile with a general production rule.

                      - Tom

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] facing problem with ecpg
Следующее
От:
Дата:
Сообщение: Undeliverable Message