Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-16 Thread Pietro Rossin
Spatial ref sys table is in public with grant select to public.. The isn't difference in permission (AFAIK) between the old and new table... Thanks Andrea -- View this message in context: http://postgis.17.x6.nabble.com/Upgrade-both-Postgres-postgis-and-Debian-major-releases-how-to-tp5011462p

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-16 Thread Andrea Peri
Perhaps some grant rule change between 9.4 and 9.6 that give unseeable the spatialrefsys to other tables ? A. Il 16 Ago 2017 09:47, "Pietro Rossin" ha scritto: Hello we made a hard upgrade and the result seems ok, but a long errors list reported by the process.. In order, in debian 8.9/postgres

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-16 Thread Pietro Rossin
Hello we made a hard upgrade and the result seems ok, but a long errors list reported by the process.. In order, in debian 8.9/postgresql 9.4.12/postgis 2.3 we made a custom dump pg_dump -Fc -b -v -f "/somepath/olddb.backup" olddb then we upgraded debian to 9, postgresql to 9.6/postgis 2.3 and r

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-11 Thread Pietro Rossin
Yes we are trying this way with what described in https://postgis.net/docs/postgis_installation.html#hard_upgrade But it's a strange thing that the postgres9.4/postgis2.3 extension is removed too... So for example a server with 4 different postgres services (9.4 and 9.6) with the same postgis ext

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-11 Thread James Klassen
I ended up doing a pg_dump on Debian 8.9 and a pg_restore on Debian 9 when I upgraded. Debian makes an effort to keep the old PosrgreSQL version installed after the OS upgrade so people can switch to the new DB version later. Unfortunately, this time it appears they forgot about keeping the old Po

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-11 Thread Pietro Rossin
I guess this is the best way to go... https://postgis.net/docs/postgis_installation.html#hard_upgrade -- View this message in context: http://postgis.17.x6.nabble.com/Upgrade-both-Postgres-postgis-and-Debian-major-releases-how-to-tp5011462p5011465.html Sent from the PostGIS - User mailing li

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-11 Thread Pietro Rossin
Dear Regina Obe thanks for your reply and sorry for my unclear explanation. I try to be more clear: 1) before the debian 9.1 upgrade ve made an upgrade to Postgres 9.4/Postgis 2.3 with jessie backports postgresql-9.4-postgis-2.3 (2.3.1+dfsg-1~bpo8+1). Then we upgraded debian to 9.1. This automatic

Re: [postgis-users] Upgrade both Postgres/postgis and Debian major releases - how to?

2017-08-10 Thread Regina Obe
Pietro, > 1) in Debian 8.9 we tried to upgrade to Postgres 9.4/postgis 2.3 before the > debian 9.1 upgrade, no success Can you elaborate on what you did here to upgrade and what error you got. No success is too vague > 2) in debian 9.1 we tried to make a symlink (in postgres 9.4 path) to > pos