| From: | "Postgres El Mejor" <postgres99(at)hotmail(dot)com> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | FOR UPDATE is not allowed in this context |
| Date: | 2001-02-21 00:01:14 |
| Message-ID: | F195Z3LstPGtPrPrvCW0000fd34@hotmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Postgres El Mejor | 2001-02-21 00:16:46 | FOR UPDATE is not allowed in this context |
| Previous Message | Richard Ehrlich | 2001-02-20 18:02:35 | Output to Printer |