From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: Michael Meskes <Michael_Meskes@topmail.de>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] facing problem with ecpg
Date: Fri, 12 Feb 1999 06:36:26 +0000
Message-ID: <36C3CBEA.CDD7ABDB@alumni.caltech.edu> (raw)
References: <19990212070652.A408@gmx.net>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lockhart@alumni.caltech.edu, Michael_Meskes@topmail.de
Subject: Re: [INTERFACES] facing problem with ecpg
In-Reply-To: <36C3CBEA.CDD7ABDB@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox