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

prepared query plan did not update

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: prepared query plan did not update
Date: 2008-09-17 18:54:34
Message-ID: 48D1526A.2050709@encs.concordia.ca (view raw or flat)
Thread:
Lists: pgsql-sql
Good morning,

I tried to use prepared query plan to update columns, but it did not 
update at all.

PREPARE pname(varchar) AS
UPDATE t1
SET    col1 = false
WHERE  col1 AND
        col2 = '$1' ;
EXECUTE pname( 'value' )



Could someone tell me where I did wrong please?

Thanks alot!



Responses

pgsql-sql by date

Next:From: Igor NeymanDate: 2008-09-17 19:28:55
Subject: Re: prepared query plan did not update
Previous:From: Raphael BauduinDate: 2008-09-17 17:09:47
Subject: Re: Trigger Procedure Error: NEW used in query that is not in a rule

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