pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Pavel PaJaSoft Janousek <janousek@fonet.cz>
Cc: Michael Meskes <meskes@postgresql.org>
Cc: PgSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Comment in ECPG - again
Date: Sat, 24 Apr 1999 17:23:35 +0200
Message-ID: <19990424172335.D790@gmx.net> (raw)
In-Reply-To: <00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz>
References: <00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz>

On Fri, Apr 23, 1999 at 09:53:51AM +0200, Pavel PaJaSoft Janousek wrote:
> Is correct way: ESQL source -> CPP -> ECPG -> C/C++ compiler?

I never tried this, but it will definitely work.

I use ESQL source -> ECPG -> CPP -> C/C++. Works well too, except that you
have to be syntactically correct even if you use #if 0. But then the
commercial products cannot handle CPP commands either to the best of my
knowledge. 

>     I use EGCS, where I found C++ preprocesor? Parse this preprocessor only

It's cpp. Yes, it comes with egcs too.

> #ifdef etc... commands? Doesn't it say error on exec sql statement?

It shouldn't. But as I said I never tried.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!



view thread (4+ messages)

Message-ID: <19990424172335.D790@gmx.net>
Permalink:  ../19990424172335.D790@gmx.net/
Also on:    postgresql.org/message-id/19990424172335.D790@gmx.net

 · 

reply

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: meskes@postgresql.org, janousek@fonet.cz
  Subject: Re: [INTERFACES] Comment in ECPG - again
  In-Reply-To: <19990424172335.D790@gmx.net>

* 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