FOR UPDATE is not allowed in this context - Mailing list pgsql-patches

From
Subject FOR UPDATE is not allowed in this context
Date
Msg-id 000701c09dd1$3416a980$0801a8c0@galaxiaonline.int
Whole thread Raw
List 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:

Previous
From: Chad David
Date:
Subject: BlobInputStream.java patch
Next
From: Cedar Cox
Date:
Subject: Re: [ODBC] ODBC Driver regedit file.