1
edit
Changes
no edit summary
I checked the data and in xml file and the one I get when running the composed query in PostgreSQL. They are identical.<br/>
I ran the same tests in MySQL: I've got the same data as in PostgreSQL. The only difference is the order of rows, so I figured it has something to do with default ordering in PostgreSQL:<br/>
And in the MySQL:<br/>
This explains why testUpdates gives the specified message, and I guess we have the same issue when we are trying to read '''without order by''' clause.
<br/>Solution: Every time we have ORDER BY we specify '''nulls first''' (this option is supported in PostgreSQL 8.3 and later).