From: | Craig Orsinger <orsingerc(at)epg-gw1(dot)lewis(dot)army(dot)mil> |
---|---|
To: | PgSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org> |
Cc: | Michael Meskes <meskes(at)postgreSQL(dot)org> |
Subject: | Re: [INTERFACES] ECPG feature |
Date: | 1999-05-25 17:26:59 |
Message-ID: | XFMail.990525102659.orsingerc@epg-gw1.lewis.army.mil |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On 23-May-99 Michael Meskes wrote:
>> So, why this brackets ('{' and '}') doesn't include ECPG? It may include
>> this brackets before and after every 'EXEC SQL' command...
>
> Okay, I'm working on this. BTW Oracle's PRO*C doesn't do this. :-)
In a somewhat trivial test of this situtation, Informix ESQL/C
did insert brackets. I'm using version 7.11 of ESQL/C, BTW.
Here's the test code. It's nonsensical, of course. I was just
using it to find out what C code was generated.
int RcmDbClose( iDb )
DBid iDb ;
{
if( db_open )
EXEC SQL CLOSE DATABASE ;
else
EXEC SQL DATABASE rcm ;
return( 0 ) ;
}
Brackets were inserted for both parts of the "if" statement.
----------------------------------
Date: 25-May-99 Time: 10:11:54
Craig Orsinger (email: <orsingerc(at)epg(dot)lewis(dot)army(dot)mil>)
Logicon RDA
Bldg. 8B28 "Just another megalomaniac with ideas above his
6th & F Streets station. The Universe is full of them."
Ft. Lewis, WA 98433 - The Doctor
----------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-05-25 18:21:09 | Re: [INTERFACES] case insensitive search in a column |
Previous Message | Johan Geuze | 1999-05-25 16:53:36 | FETCH / ecpg |