Re: [INTERFACES] facing problem with ecpg - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] facing problem with ecpg
Date
Msg-id 36C3CBEA.CDD7ABDB@alumni.caltech.edu
Whole thread Raw
In response to Re: [INTERFACES] facing problem with ecpg  (Michael Meskes <Michael_Meskes@topmail.de>)
Responses Re: [INTERFACES] facing problem with ecpg  (Michael Meskes <Michael_Meskes@topmail.de>)
List 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 by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] facing problem with ecpg
Next
From:
Date:
Subject: Undeliverable Message