X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E099B11F7DCE for ; Sun, 2 Apr 2006 08:44:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56568-09 for ; Sun, 2 Apr 2006 08:44:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sapo.pt (relay4.ptmail.sapo.pt [212.55.154.24]) by postgresql.org (Postfix) with SMTP id 5EAA211F7D7E for ; Sun, 2 Apr 2006 08:44:44 -0300 (ADT) Received: (qmail 28637 invoked by uid 0); 2 Apr 2006 11:44:13 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.207) by relay4 with SMTP; 2 Apr 2006 11:44:13 -0000 Received: (qmail 11807 invoked from network); 2 Apr 2006 11:44:44 -0000 X-AntiVirus: PTMail-AV 0.3.88 X-Virus-Status: Clean (0.00383 seconds) Received: from unknown (HELO hmv02) (hmv@[82.155.155.17]) (envelope-sender ) by mta12 (qmail-ldap-1.03) with SMTP for ; 2 Apr 2006 11:44:44 -0000 Message-ID: <000a01c6564a$da5e2750$580bfea9@hmv02> From: =?ISO-8859-15?Q?H=E9lder_M._Vieira?= To: References: <442D35FD.2050208@geosys.fr> <004001c6556c$930fc130$580bfea9@hmv02> <442F08E7.2000903@tpf.co.jp> Subject: Re: Strange Update query ... Date: Sun, 2 Apr 2006 12:44:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.359 required=5 tests=[AWL=-0.560, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] X-Spam-Score: 1.359 X-Spam-Level: * X-Archive-Number: 200604/5 X-Sequence-Number: 7532 Hiroshi, I made several tests, and the log always shows an UPDATE statement filled with constant values, such as: 'UPDATE mytable SET myfield1=4,myfield2=5,myfield3=6 WHERE (id=6 AND myfield1=1 AND myfield2=2 AND myfield3=3 )' I tried with several data types, with and without explicit declaration of the 'myvaluex' variables, and never saw variable names in the generated UPDATE statement. Thomas Chabaud's log shows: 'UPDATE mytable SET myfield1=myvalue1,myfield2=myvalue2,myfield3=myvalue3 WHERE (id=6 AND myfield1=myvalue1 AND myfield2=myvalue2 AND myfield3=myvalue3 )' I can't figure out how variable names could appear in the UPDATE statement, so I think Thomas Chabaud should provide some information about the nature of those variables. Hélder M. Vieira