Re: [BUGS] Pb with ecpg and include file on PG 8.0.0

2004-09-15 Thread Valerie Schneider DSI/DEV
Date: Tue, 14 Sep 2004 09:27:41 +0200 From: Michael Meskes [EMAIL PROTECTED] To: Valerie Schneider DSI/DEV [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [BUGS] Pb with ecpg and include file on PG 8.0.0 Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.6+20040722i

Re: [BUGS] Pb with ecpg and include file on PG 8.0.0

2004-09-14 Thread Michael Meskes
On Fri, Sep 10, 2004 at 08:09:55AM +, Valerie Schneider DSI/DEV wrote: I installed PG 8.0.0beta2 : [EMAIL PROTECTED] SrcLib]$ ecpg --version ecpg (PostgreSQL 8.0.0beta2) 3.2.0 This works nicely for me with ecpg 3.2.0. It may be that ecpg does not find the include file. But then it should

Re: [BUGS] Pb with ecpg and include file on PG 8.0.0

2004-09-14 Thread Michael Meskes
On Tue, Sep 14, 2004 at 08:35:52AM +, Valerie Schneider DSI/DEV wrote: But why ecpg found it in the 7.4 version ? I'm not even sure this is the reason. Could you please try moving the file to . to see if it works? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ:

Re: [BUGS] Pb with ecpg and include file on PG 8.0.0

2004-09-11 Thread Bruce Momjian
Valerie Schneider DSI/DEV wrote: ... EXEC SQL INCLUDE DbTablesUtilPg.hh; ... EXEC SQL PREPARE S FROM :sqlstmt; EXEC SQL DECLARE C_FK_COL CURSOR FOR S; EXEC SQL OPEN C_FK_COL; EXEC SQL FETCH MAX_FK IN C_FK_COL INTO :fk_id_L , :valid_L, :target_t_L; with MAX_FK a variable

[BUGS] Pb with ecpg and include file on PG 8.0.0

2004-09-10 Thread Valerie Schneider DSI/DEV
Hi, I have a set of libraries and C/C++ programs with embedded access to a PG database. I'm using ecpg. I'm working on a Linux RedHat9 platform. Until now I was in PG 7.4.2 : [EMAIL PROTECTED] SrcLib]$ ecpg --version ecpg (PostgreSQL 7.4.2) 3.1.1 [EMAIL PROTECTED] SrcLib]$ g++ --version g++ (GCC)