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

From Postgres El Mejor
Subject FOR UPDATE is not allowed in this context
Date
Msg-id F195Z3LstPGtPrPrvCW0000fd34@hotmail.com
Whole thread Raw
List pgsql-interfaces
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


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



pgsql-interfaces by date:

Previous
From: "He Weiping(Laser Henry)"
Date:
Subject: Chinese patch for Pgaccess
Next
From: Luis Magaña
Date:
Subject: Errors in other languages