pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: rpicavet@nordnet.fr
Cc: Postgres Interfaces Mailing List <pgsql-interfaces@postgresql.org>
Cc: pgsql-docs@postgresql.org
Subject: Re: [INTERFACES] Re: looking for doc for ecpg
Date: Wed, 10 May 2000 09:45:03 +0200
Message-ID: <20000510094503.B2799@fam-meskes.de> (raw)
In-Reply-To: <3918F4A1.FC765C88@alumni.caltech.edu>
References: <8f9cr4$866$1@news.nordnet.fr>
	<3918F4A1.FC765C88@alumni.caltech.edu>

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@Fam-Meskes.De           | Use PostgreSQL!



view thread (3+ messages)

Message-ID: <20000510094503.B2799@fam-meskes.de>
Permalink:  ../20000510094503.B2799@fam-meskes.de/
Also on:    postgresql.org/message-id/20000510094503.B2799@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, rpicavet@nordnet.fr, pgsql-docs@postgresql.org
  Subject: Re: [INTERFACES] Re: looking for doc for ecpg
  In-Reply-To: <20000510094503.B2799@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