clone 321850 -1
reassign 321850 postgresql
retitle 321850 postgresql: add conflict to non-transitioned postgis
reassign -1 postgis
retitle -1 postgis: Migrate to new postgresql structure
thanks

Hi Floris, hi Alex!

(Fullquote for the postgis maintainer)

Floris Sluiter [2005-08-07 22:26 +0200]:
> I had postgis installed under postgresql 7.4
> Then I upgraded this postgres 7.4 to ppostgres 7.5
> 
> Upgrading was straightforward, except the files from postgis were not
> upgraded to the new directory structure.
> 
> This includes:
> /usr/lib/postgresql/bin/
> pgsql2shp
> shp2pgsql
> 
> /usr/lib/postgresql/lib/
> libpostgis.so
> libpostgis.so.0
> libpostgis.so.0.9
> 
> Now as a default, I suggest a warning that the directories contained
> other files.
> (BTW postgis is a library/language that spatially enables postgresql)
> It is impossible to connect to the (spatial)database cluster
> afterwards, since postgres7.4 cannot find the library anymore... It
> will fail with pretty cryptic error messages as: "could not open 1262"
> etc.
> 
> Moving the files to the new directory structure repaired the whole scheme.
> 
> I understand that these files are not part of a standard debian
> package (in the stable distribution, they are in unstable), however I
> suspect that many people will have extensions set up in the same way,
> and it would be a simple test and a simple warning to detect this.
> 
> Regards.
> 
> Floris Sluiter

I wouldn't feel well if I would move around configuration and data
files from other packages. postgis itself should do that.

Alex, what do you think about the following solution: postgis postinst
performs the transition if necessary, so that the juggling of data
files stays in the package it belongs to (this might also affect other
packages, and accumulating them all in the postgresql transition
package would be a bit insane). The version that does the
transition conflicts to postgresql (<< 7.5). The postgresql transition
package (postgresql 7.5.x) adds a conflict to every postgis version
smaller than the one that supports migration, so that users always
have to upgrade both at the same time.

Thanks,

Martin

-- 
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to