Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VSAeb-0004jb-TI for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Oct 2013 19:03:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VSAea-0002nB-LJ for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Oct 2013 19:03:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VS5Og-0001Po-LV for pgsql-bugs@postgresql.org; Fri, 04 Oct 2013 13:26:22 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VS5Oc-0007oE-7Q for pgsql-bugs@postgresql.org; Fri, 04 Oct 2013 13:26:22 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VS5Ob-0005uq-4M for pgsql-bugs@postgresql.org; Fri, 04 Oct 2013 13:26:17 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VS5OV-0007vx-Lh for pgsql-bugs@postgresql.org; Fri, 04 Oct 2013 13:26:11 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8500: Upgrade to postgis 2.1 breaks existing databases To: pgsql-bugs@postgresql.org From: kyrimis@alumni.princeton.edu Message-Id: Date: Fri, 04 Oct 2013 13:26:11 +0000 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8500 Logged by: Kriton Kyrimis Email address: kyrimis@alumni.princeton.edu PostgreSQL version: 9.2.4 Operating system: Scientific Linux 6.4 Description: The version of postgis, available in the postgresql yum repository for postgis 9.2, was recently upgraded to version 2.1. This breaks existing databases built with postgis 2.0, as queries involving postgis fail with the error message "ERROR: could not access file "$libdir/postgis-2.0": No such file or directory" This includes backing up the databases, so upgrading them to use postgis 2.1 may not even be an option, if a hard upgrade is required. I have downgraded all postgis2_92 packages to version 2.0.4 and excluded them from future upgrades, but I'd recommend reverting to that version in the repositories, as well. At the very least, please ensure that version 2.0.x of the packages remains available in the future. Better still, provide alternative postgis21_92-* packages, for those wishing to use the latest version, without affecting those that use the previous version. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs