Re: [GENERAL] ECPG bug or development choice

2003-09-09 Thread Thierry Missimilly
Yes, i've discovered that and Oracle uses EXEC ORACLE ifdef So, that means it is not possible to have one and only one source file for a Proc*c program which could be run on Postgres and Oracle. Thank for your fast answer. Thierry Michael Meskes wrote: > On Tue, Sep 09, 2003 at 02:48:19PM +

Re: [GENERAL] ECPG bug or development choice

2003-09-09 Thread Michael Meskes
On Tue, Sep 09, 2003 at 02:48:19PM +0200, Thierry Missimilly wrote: > I'm not sure it's a bug or it's normal, so i don't send it to pgsq-bugs. > ... > So, i use #ifdef ORACLE #else #endif preprocessing instructions to > differentiate PG from Oracle Pro*c syntaxes. As a matter of fact we use EXEC

[GENERAL] ECPG bug or development choice

2003-09-09 Thread Thierry Missimilly
Hi, I'm not sure it's a bug or it's normal, so i don't send it to pgsq-bugs. Well, i have written pgbench in PRO*C to have a common pgbench.pgc source for Postgres and Oracle. However, there are some differences between the Postgres Pro*c and Oracle Pro*c. So, i use #ifdef ORACLE #else #endif