![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
... 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 defined in the file /VALE/users/clipg/Server/Include/DbTablesUtilPg.hh : exec sql define MAX_FK 100; |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I installed PG 8.0.0beta2 : [clipg@li SrcLib]$ ecpg --version ecpg (PostgreSQL 8.0.0beta2) 3.2.0 |
#5
| |||
| |||
|
|
But why ecpg found it in the 7.4 version ? |
#6
| |||
| |||
|
|
Date: Tue, 14 Sep 2004 09:27:41 +0200 From: Michael Meskes <meskes (AT) postgresql (DOT) org To: Valerie Schneider DSI/DEV <valerie.schneider (AT) meteo (DOT) fr Cc: pgsql-bugs (AT) postgresql (DOT) org 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 X-Provags-ID: kundenserver.de abuse (AT) kundenserver (DOT) de auth:da5cff6069dd6897c77170232368d0ba On Fri, Sep 10, 2004 at 08:09:55AM +0000, Valerie Schneider DSI/DEV wrote: I installed PG 8.0.0beta2 : [clipg@li 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 also print that. |
|
I had the file in "." where ecpg found it and the constant was correctly translated. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes (AT) jabber (DOT) org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! |
![]() |
| Thread Tools | |
| Display Modes | |
| |