Skip site navigation (1) Skip section navigation (2)


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: (view raw, whole thread or download thread mbox)
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
> (
> ecpg/test/test1.pgc?rev= 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 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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group