| From: | pgsql-bugs(at)postgresql(dot)org |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Bug #869: varchar 's comparision |
| Date: | 2003-01-10 03:24:04 |
| Message-ID: | 20030110032404.D7CE4475D17@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
trainee (trainee12(at)yeah(dot)net) reports a bug with a severity of 2
The lower the number the more severe it is.
Short Description
varchar 's comparision
Long Description
SERVER: PGSQL 7.31 + MANDRAKE LINUX 8.1
CLIENT: VISIVAL FOXPRO 7.0 + PGSQLODBC 7.02
TABLE : MYTABLE
M_ID VARCHAR(10) M_DESC VARCHAR(10)
-----------------------------------------------------------
ABC HELLO
I create a romate view in vfp, when I modify "m_desc" from "HELLO"
TO "GOOD" ,and update table, vfp trigger a error "UPDATE CONFLICT".
In odbc-log: (THIS SQL SYNTAX IS GENERATED BY VFP )
---------------------------------------------------------------
UPDATE MYTABLE SET M_DESC='GOOD' WHERE M_ID='ABC ' AND M_DESC='HELLO '
UPDATE 0 RECORDS
----------------------------------------------------------------
no record be updated, so VFP trigger a error "UPDATE CONFLICT"
But if you execute SQL manually
---------------------------------------------------------
UPDATE MYTABLE SET M_DESC='GOOD' WHERE M_ID='ABC' AND M_DESC='HELLO'
UPDATE 1 RECORDS
---------------------------------------------------------
HOW CAN I DO?
THANKS
Sample Code
No file was uploaded with this report
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2003-01-10 04:34:08 | Re: Bug #869: varchar 's comparision |
| Previous Message | Peter Eisentraut | 2003-01-09 21:50:08 | Re: Libpq is not a shared library on Mac OS X |