pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Cobus Carstens <cobus.carstens@swistgroup.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re:
Date: Fri, 31 Oct 2003 10:58:54 +0100
Message-ID: <20031031095854.GA20334@feivel.fam-meskes.de> (raw)
In-Reply-To: <DEC925D2FB9081448C3D6EC26E85868CF81404@steinmail.swistgroup.com>
References: <DEC925D2FB9081448C3D6EC26E85868CF81404@steinmail.swistgroup.com>

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!



view thread (2+ messages)

Message-ID: <20031031095854.GA20334@feivel.fam-meskes.de>
Permalink:  ../20031031095854.GA20334@feivel.fam-meskes.de/
Also on:    postgresql.org/message-id/20031031095854.GA20334@feivel.fam-meskes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, cobus.carstens@swistgroup.com
  Subject: Re:
  In-Reply-To: <20031031095854.GA20334@feivel.fam-meskes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox