Re:

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Cobus Carstens <cobus(dot)carstens(at)swistgroup(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re:
Date: 2003-10-31 09:58:54
Message-ID: 20031031095854.GA20334@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

  • at 2003-10-28 05:45:42 from Cobus Carstens

Browse pgsql-interfaces by date

  From Date Subject
Next Message Antonio Giráldez 2003-10-31 12:43:40 unsubscribe
Previous Message Steffen Wittenburg 2003-10-31 09:40:48 Eine Nachricht von Steffen Wittenburg