From: Pavel PaJaSoft Janousek <janousek@fonet.cz>
To: PgSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Comment in ECPG - again
Date: Thu, 22 Apr 1999 10:06:07 +0200
Message-ID: <001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz> (raw)
Hi all,
fine, ECPG doesn't know preprocesor macros as #if, #ifdef... - you
wrote, that this is ok, because this is preprocesor commands.
But why ECPG know '//' and '/*' and '*/' C/C++ style comments?
Somebody wrote, that ECPG translate only exec sql commands, not true,
when I write this:
//exec sql ssss
ECPG don't translate this line => it knows C/C++ comments... - this
construction is wrong, but ECPG doesn't say parse error on this line =>
skips it.
So, is ECPG only ESQL compiler (translator) or complex translator from
ESQL to C/C++? I think, that ECPG want be complex translator => it may know
also preprocesor directives....
-------------------------------------------------------------------------
Pavel Janousek (PaJaSoft) FoNet, spol. s r. o.
Vyvoj software, sprava siti, Unix, Web, Y2K Anenska 11, 602 00 Brno
E-mail: mailto:Janousek@FoNet.Cz Tel.: +420 5 4324 4749
SMS: mailto:P.Janousek@SMS.Paegas.Cz Fax.: +420 5 4324 4751
WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info@FoNet.Cz
--------------------------------------------------------------------------
-------------------------------------------------------------------------
Pavel Janousek (PaJaSoft) FoNet, spol. s r. o.
Vyvoj software, sprava siti, Unix, Web, Y2K Anenska 11, 602 00 Brno
E-mail: mailto:Janousek@FoNet.Cz Tel.: +420 5 4324 4749
SMS: mailto:P.Janousek@SMS.Paegas.Cz Fax.: +420 5 4324 4751
WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info@FoNet.Cz
--------------------------------------------------------------------------
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: janousek@fonet.cz
Subject: Re: Comment in ECPG - again
In-Reply-To: <001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz>
* 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