| From: | Hélder M(dot) Vieira <hmv(at)mail(dot)telepac(dot)pt> | 
|---|---|
| To: | <pgsql-odbc(at)postgresql(dot)org> | 
| Subject: | Re: Strange Update query ... | 
| Date: | 2006-04-02 11:44:51 | 
| Message-ID: | 000a01c6564a$da5e2750$580bfea9@hmv02 | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-odbc | 
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2006-04-03 03:40:46 | Re: problem about maximum row size ? | 
| Previous Message | Hiroshi Inoue | 2006-04-01 23:12:39 | Re: Strange Update query ... |