Skip site navigation (1) Skip section navigation (2)

FOR UPDATE is not allowed in this context

From: <soporte(at)ecuadorcomercial(dot)com>
To: <pgsql-patches(at)postgresql(dot)org>
Cc: <soporte(at)ecuadorcomercial(dot)com>
Subject: FOR UPDATE is not allowed in this context
Date: 2001-02-20 23:22:56
Message-ID: 000701c09dd1$3416a980$0801a8c0@galaxiaonline.int (view raw or flat)
Thread:
Lists: pgsql-patches
Greetings:
 
When precompiling the following sentence the precompiler shows the message
"FOR UPDATE is not allowed in this context".
 
EXEC SQL SELECT camp_1 INTO :n1 WHERE llave = :var_llave FOR UPDATE;
 
It seems to be a problem with the host variables because it precompiles well
the following sentence:
 
EXEC SQL SELECT camp_1 INTO :n1 WHERE llave = 'abcd' FOR UPDATE;
 
Thanks in advance for your help,
 
----------------------------------------------------------------------------
---------------------
Jhon Orellana.
Quito - Ecuador
South America

pgsql-patches by date

Next:From: Dave PageDate: 2001-02-21 14:06:04
Subject: ODBC Driver regedit file.
Previous:From: Bruce MomjianDate: 2001-02-20 15:34:12
Subject: Re: pgcrypto update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group