[postgis-users] Upgrading to Geos 2.1.2 from 2.1.0

Fenoy Gerald djayweb at djayux.net
Thu Jun 23 02:00:20 PDT 2005


     Hi, sorry but there is something I don't understand. Indeed I  
just emerge the new geos-2.1.2 ebuild then all the old databases  
display :

  postgis_geos_version
  ----------------------
2.1.2
(1 row)

for the query "select postgis_geos_version();".
Furethermore I don't even upgrade or reinstall the postgis library  
after upgrading the geos one ...

You must note that, at the end of an ebuild installation there is  
always a call to the ldconfig command so you could maybe look on that  
way ...

Hope that help.

Cordialy.

Le 23 juin 05 à 10:52, Daniel a écrit :

> What you have done isn't enough for a postgis upgrade. take a look  
> at postgis docs for upgrades.
>
> To upgrade, you must:
> 1) dump your db. Hint: do not dump postgis functions (do it by  
> script, for example)
> 2) delete your db. Hint: try a restore before.
> 2) upgrade your postgis version.
> 3) re-create your db.
> 4) enable your new postgis version for your db.
> 5) restore your data from backup.
>
> Yours,
>
> dF
>
> Stefano B. wrote:
>
>
>> Hi, I have upgraded geos to 2.1.2 version but when i type
>>      select postgis_geos_version()
>>  I get "2.1.0"
>>  I did the following steps:
>>  1) make uninstall (From geos 2.1.0 dir)
>> 2) compiled geos 2.1.2 and make install .... ok
>> 3) create a new postgis database from an old one with the  
>> postgis_restore procedure
>>  and the new database has the old version on Geos (2.1.0).
>>  Why?
>>  Thanks in advance.
>> Stefano
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
>
>
> <daniel.faivre.vcf>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

Fenoy Gerald
djayweb at djayux.net
!!! GIS for gentoo'ers !!!





More information about the postgis-users mailing list