Re: [INTERFACES] ECPG and FETCH

From: Michael Meskes <meskes(at)postgreSQL(dot)org>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] ECPG and FETCH
Date: 2000-01-05 18:30:59
Message-ID: 20000105193059.A13149@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Wed, Jan 05, 2000 at 06:24:51PM +1100, Tim Kane wrote:
> First of all, ECPG doesn't seem to recognise the FETCH command at all,
> returning with Syntax Error (see below).

FETCH IN should work as well as FETCH FROM. I think this is what standard
says. I once tried to add FETCH without IN but got some shift/reduce
conflicts. I haven't looked into it for quite some time, so maybe I can add
a compatibility rule. But don't bet on it.

> Secondly, are there any postgres specific Embedded SQL docs around
> 'anywhere'?

Unfortunately not much. But there are some (5 to be precise) demo files in
the source tree.

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-01-05 19:23:17 Re: [HACKERS] InterBase interview on Linux Journal
Previous Message The Hermit Hacker 2000-01-05 18:21:55 Re: [HACKERS] InterBase interview on Linux Journal

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2000-01-05 18:33:36 Re: [INTERFACES] ECPG and remote databases
Previous Message Thomas Lockhart 2000-01-05 18:10:14 Re: ECPG documentation