Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TC0de-0003J0-24 for pgsql-admin@postgresql.org; Thu, 13 Sep 2012 04:02:50 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TC0da-0000sD-Tx for pgsql-admin@postgresql.org; Thu, 13 Sep 2012 04:02:49 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1TC0dY-0006hy-Q7; Thu, 13 Sep 2012 00:02:44 -0400 Date: Thu, 13 Sep 2012 00:02:44 -0400 From: Bruce Momjian To: Ronit Allen Cc: pgsql-admin@postgresql.org Subject: Re: pg_upgrade with postgis Message-ID: <20120913040244.GA18423@momjian.us> References: <20120911221719.GA7039@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201209/60 X-Sequence-Number: 40001 On Thu, Sep 13, 2012 at 02:12:40AM +0300, Ronit Allen wrote: > Hi - > > Thanks. > As we installed using pg repos (yum) I don't think it will allow me to > re-install postgis. > Is it possible to specify a target cluster for a postgis install from repo or > will it need to be installed from source? You just need to have a valid data directory and binaries --- you don't need source. --------------------------------------------------------------------------- > Thanks again. > On Wed, Sep 12, 2012 at 1:17 AM, Bruce Momjian wrote: > > On Tue, Sep 11, 2012 at 04:15:31PM +0300, Ronit Allen wrote: > > HI - > > > > I am looking to upgrade our postgresql 9 to 9,2 using pg_upgrade. > > > > We have postgis installed on the current cluster (9). > > > > Both postgresql and postgis was installed using the pg repos. > > > > Will I need to re-install postgis after running pg_upgrade? > > You will need to have all plug-in stuff installed in the new > cluster before running pg_upgrade. You should then be able to run > pg_upgrade and all your postgis data will be migrated. > > -- > Bruce Momjian http://momjian.us > EnterpriseDB http://enterprisedb.com > > + It's impossible for everything to be true. + > > -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +