Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] Comment in ECPG - again

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Pavel PaJaSoft Janousek <janousek(at)fonet(dot)cz>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, PgSQL Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Comment in ECPG - again
Date: 1999-04-24 15:23:35
Message-ID: 19990424172335.D790@gmx.net (view raw or flat)
Thread:
Lists: pgsql-interfaces
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(dot)Meskes(at)gmx(dot)net          | Use PostgreSQL!

In response to

pgsql-interfaces by date

Next:From: Michael MeskesDate: 1999-04-24 15:28:51
Subject: Re: [INTERFACES] ecpg cursors and scope
Previous:From: Denis SbragionDate: 1999-04-24 08:50:44
Subject: Re: [INTERFACES] win98 odbc problem?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group