Re: [INTERFACES] Re: looking for doc for ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: rpicavet(at)nordnet(dot)fr
Cc: Postgres Interfaces Mailing List <pgsql-interfaces(at)postgresql(dot)org>, pgsql-docs(at)postgresql(dot)org
Subject: Re: [INTERFACES] Re: looking for doc for ecpg
Date: 2000-05-10 07:45:03
Message-ID: 20000510094503.B2799@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-interfaces

On Wed, May 10, 2000 at 05:33:21AM +0000, Thomas Lockhart wrote:
> > As i am a newbie, excuse me if this is not the right place to post this...
> > I would like to find a documentation for ecpg, the preprocessor for C

The language is embedded SQL in C. There are other docs about this for
instance from Oracle.

> > langage. I am especially interrested in error message,and in more particular
> > the message :
> > "FOR UPDATE is not allowed in this CONTEXT"

It means that you cannot define a cursor as FOR UPDATE when using constructs
like UNION,INTERSECT oder EXCEPT. BTW the backend would refuse to accept
this statement as well.

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-docs by date

  From Date Subject
Next Message Bruce Momjian 2000-05-11 03:27:42 Patches list broken?
Previous Message Thomas Lockhart 2000-05-10 05:33:21 Re: looking for doc for ecpg

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Holopainen 2000-05-10 07:49:03 Lotus Approach problems, please help meeeeee! ;)
Previous Message Michael Meskes 2000-05-10 07:42:22 Re: ECPG failed and Postmaster getting bigger in using perl Pg