Re: - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re:
Date
Msg-id 20031031095854.GA20334@feivel.fam-meskes.de
Whole thread Raw
In response to  ("Cobus Carstens" <cobus.carstens@swistgroup.com>)
List pgsql-interfaces
On Tue, Oct 28, 2003 at 07:45:42AM +0200, Cobus Carstens wrote:
> I'm running Postgresql 7.3.2 on Mandrake 9.1.
> I'm using ecpg (version 2.10.0) to compile the embedded sql code in my C
> programs.
> 
> The problem experienced has to do with array indexing in SQL statements.
> I browsed your test files in the CVS repository and found one
> (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/
> ecpg/test/test1.pgc?rev=1.31.2.1&content-type=text/x-cvsweb-markup) that
> contains the code I would like to be able to use.
> 
> When I precompile the abovementioned file with ecpg, I get the following
> error
>   test1.pgc:130: parse error at or near "[".

The syntax used in test1.pgc in CVS is only supported in ecpg 3.0.0
coming with PostgreSQL 7.4. If you want to use the older version check
for an older version of test1.pgc.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: "Steffen Wittenburg"
Date:
Subject: Eine Nachricht von Steffen Wittenburg
Next
From: Antonio Giráldez
Date:
Subject: unsubscribe