[postgis-devel] Small regression test updates

Andreas 'ads' Scherbaum adsmail at wars-nicht.de
Tue Oct 19 13:19:32 PDT 2010


Hello,

we recently implemented PostGIS in Greenplum (a PostgreSQL fork).
The regression tests throwed some errors on us, but mainly only a
different output order in the affected .expected files.

Greenplum is a distributed shared-nothing architecture. Unlike
PostgreSQL, we will always get the rows in a different order - unless we
order them explicitely, like it is required in the SQL standard.

Thinking about it, there is a (although very small) chance, that
synchronized sequentiell scans in 8.3 and above will also break these 
regression tests - as example, if a backup is running at the same time.

Attached you can find a small patch which adds "order by 1" in some of 
the regression tests, and also changes the output order in some of the 
.expected files. The data itself is not changed. The patch works with 
PostgreSQL 9.04 and PostGIS 1.5.3.



Regards,

-- 
				Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regress.diff
Type: text/x-diff
Size: 4260 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20101019/c4c8af09/attachment.diff>


More information about the postgis-devel mailing list