pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
looking for doc for ecpg
3+ messages / 3 participants
[nested] [flat]

* looking for doc for ecpg
@ 2000-05-09 16:02 PICAVET REGIS <rpicavet@nordnet.fr>
  2000-05-10 05:33 ` Re: looking for doc for ecpg Thomas Lockhart <lockhart@alumni.caltech.edu>
  0 siblings, 1 reply; 3+ messages in thread

From: PICAVET REGIS @ 2000-05-09 16:02 UTC (permalink / raw)
  To: pgsql-docs@postgresql.org

Hi
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
langage.
I am especially interrested in error message,and in more particular the
message :
"FOR UPDATE is not allowed in this CONTEXT"

I don't know where to find axplanations...

Thanks for responding

Fabrice Burghgraeve
fburghgraeve@computeretservices.com





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: looking for doc for ecpg
  2000-05-09 16:02 looking for doc for ecpg PICAVET REGIS <rpicavet@nordnet.fr>
@ 2000-05-10 05:33 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
  2000-05-10 07:45   ` Re: [INTERFACES] Re: looking for doc for ecpg Michael Meskes <meskes@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Thomas Lockhart @ 2000-05-10 05:33 UTC (permalink / raw)
  To: PICAVET REGIS <rpicavet@nordnet.fr>; pgsql-interfaces; +Cc: pgsql-docs@postgresql.org

> 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
> langage. I am especially interrested in error message,and in more particular
> the message :
> "FOR UPDATE is not allowed in this CONTEXT"

ecpg does not have as many docs as the code author would like. There
may be one or two possibilities for more complete docs in the future,
but nothing concrete yet.

The current best way to track this down is to ask directly on the
-interfaces mailing list (which I'm cc'ing now) and to look at the
source code for ecpg and its libraries, which may not be feasible for
you.

Sorry that we do not at the moment have more written info available.
Good luck.

                      - Thomas

-- 
Thomas Lockhart				lockhart@alumni.caltech.edu
South Pasadena, California



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] Re: looking for doc for ecpg
  2000-05-09 16:02 looking for doc for ecpg PICAVET REGIS <rpicavet@nordnet.fr>
  2000-05-10 05:33 ` Re: looking for doc for ecpg Thomas Lockhart <lockhart@alumni.caltech.edu>
@ 2000-05-10 07:45   ` Michael Meskes <meskes@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Meskes @ 2000-05-10 07:45 UTC (permalink / raw)
  To: rpicavet@nordnet.fr; +Cc: pgsql-interfaces; pgsql-docs@postgresql.org

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!



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2000-05-10 07:45 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-05-09 16:02 looking for doc for ecpg PICAVET REGIS <rpicavet@nordnet.fr>
2000-05-10 05:33 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
2000-05-10 07:45   ` Michael Meskes <meskes@postgresql.org>

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