[postgis-devel] Moving towards a 1.2.2 release?

TECHER David davidtecher at yahoo.fr
Wed May 16 07:06:52 PDT 2007


Dear Michael,

I apply the patch you give us but without any succeed
on
- postgresql 8.3 dev from cvs
- postgis from svn patched with your patch
- geos from svn OR geos-3.0.0-rc4
and proj 4.5.0

All my regression tests failed :(.

The regression test for loader (shp2pgsql --> make -C regress)  implies 
that my server restarts! Why? I don't know

For example for the tiny SQL instruction

testgis=# select postgis_full_version();
                                  postgis_full_version
----------------------------------------------------------------------------------------
 POSTGIS="1.2.2SVN" GEOS="3.0.0rc4-CAPI-1.3.3" PROJ="Rel. 4.5.0, 22 Oct 
2006" USE_STATS
(1 ligne)

testgis=# select 'LINESTRING(1 1, 2 2)'::GEOMETRY ~= 'LINESTRING(2 2, 1 
1)'::GEOMETRY;
NOTICE:  compute_serialized_box3d called on unknown type 0
NOTICE:  compute_serialized_box3d called on unknown type 0
ERROR:  Unknown geometry type: 0

While from an other old db I have at home

testgis=# select postgis_full_version();
                               postgis_full_version
----------------------------------------------------------------------------------
 POSTGIS="1.1.3" GEOS="2.2.2-CAPI-1.1.0" PROJ="Rel. 4.4.9, 29 Oct 2004" 
USE_STATS
(1 ligne)

testgis=# select 'LINESTRING(1 1, 2 2)'::GEOMETRY ~= 'LINESTRING(2 2, 1 
1)'::GEOMETRY;
 ?column?
----------
 f
(1 ligne)

No problem. Let me know, if I could do others test ;)

--david;





Michael Fuhr a écrit :
> On Mon, May 14, 2007 at 07:16:02PM +0100, Mark Cave-Ayland wrote:
>   
>> 3. Compiling and regression testing against a PostgreSQL 8.3 tree. Most
>> versions tend to break the index code, and I'd be surprised if 8.3 was
>> any different. There are likely to be some small fixes needed here.
>>     
>
> Compiling against 8.3devel fails:
>
> lwgeom_geos_c.c: In function `postgis_geos_version':
> lwgeom_geos_c.c:84: warning: implicit declaration of function `VARATT_SIZEP'
> lwgeom_geos_c.c:84: error: invalid lvalue in assignment
>
> I think this is the relevant commit:
>
> http://archives.postgresql.org/pgsql-committers/2007-02/msg00517.php
>
> I haven't followed the discussion surrounding that commit enough
> to know how best to write code that must compile against 8.3 and
> earlier versions.  The attached patch gets PostGIS to compile and
> pass all regression tests against 8.3devel but it will break builds
> against earlier versions.  In a few places I replaced the constant 4
> with VARHDRSZ but somebody more familiar with the code might want to
> evaluate whether VARHDRSZ is indeed what's intended.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>   


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com



More information about the postgis-devel mailing list