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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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