ecpg weird behavior - Mailing list pgsql-interfaces

From Nicolas Bazin
Subject ecpg weird behavior
Date
Msg-id 000901c1c564$b21274c0$660d090a@software.ingenico.com.au
Whole thread Raw
Responses Re: ecpg weird behavior
List pgsql-interfaces
I'm porting an application from INFORMIX to Postgresql and have found weird behaviour of ecpg:
- when using cursors, the fetch statement needs "into ..." which does not comply with the SQL syntax,
- a type definition needs to be written twice: the C  version and the SQL version. It is easy to modify the preproc to only have the SQL definition (I have done it and can submit a patch if anyone is interested),
 
 
Also I have found a bug in the way the preproc  handles preproc conditions "EXEC SQL IFDEF ...". I have submitted the patch to fix it to hackers but it looks like it's been ignored.
Attachment

pgsql-interfaces by date:

Previous
From: "PG Explorer"
Date:
Subject: Re: TCP/IP database connection problem with pgaccess
Next
From: Fernando de la Fuente Garcia
Date:
Subject: Problem trying to connect to a database with PGACCESS