Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XEWI5-00082i-WE for pgsql-admin@arkaria.postgresql.org; Tue, 05 Aug 2014 04:24:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEWI5-0005Pb-EC for pgsql-admin@arkaria.postgresql.org; Tue, 05 Aug 2014 04:24:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XEWI4-0005PV-My for pgsql-admin@postgresql.org; Tue, 05 Aug 2014 04:24:00 +0000 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEWHw-0004J4-0E for pgsql-admin@postgresql.org; Tue, 05 Aug 2014 04:23:59 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKU+BcVR6OBx9AOsgfGi6iUWdfeHEy0XR8@postini.com; Tue, 05 Aug 2014 04:23:51 UTC Received: by mail-pd0-f177.google.com with SMTP id p10so572261pdj.8 for ; Mon, 04 Aug 2014 21:23:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type :content-transfer-encoding; bh=RpQXaFLXVdjpkkDWmq+xVV1GeD9rQUxAOHl4DYCIy2M=; b=YrxpNLlcyGnPPb52T6cA901EPu03GBu5UH9VeVwglZ6LGJTXanOOZ0a/Z3TvObNdTk /ngeNwyRBsyKs37wkH7VBTbsxlzaoKuxSBORbhBHQa/c8ie5IAvNNA2Z9zlq5YGFJanu PysszxD6YdYpa2IB3EZTX6uoRRqHh8BaQQSFBqz+HSCHFSaxjYOcVYPF/FTU7fitphT6 BjY7DSr+PrIvrdOGqhEbGLdx7r1E+Hflmi2aDYR97y6nqj5iHNQ5ETjaNtsM5e8lA8s3 lSJJjxWjWOP/sta+pjXeKh/UXI52IFQVEXhUGCQLKVsQ7Asj9fPcy+A0mPlxkJ/rUmKU h+tw== X-Gm-Message-State: ALoCoQnTGgraDKGVEbdc8CciYDHmNT8ba8ZMYt5+OQG+H+5A4ivp1LRdRMAHG2ttTc0eQOrnpZ1+aw7Wc2kWNn++/7Q5xEkgLwKpQ0BLRVg7XESNmK8VR43gG87YEGoe/h4R8EWkYMbpAtHvv8/yKKWVVSp/r3/2Eg== X-Received: by 10.68.251.201 with SMTP id zm9mr1375533pbc.22.1407212628219; Mon, 04 Aug 2014 21:23:48 -0700 (PDT) X-Received: by 10.68.251.201 with SMTP id zm9mr1375513pbc.22.1407212627997; Mon, 04 Aug 2014 21:23:47 -0700 (PDT) From: Khangelani Gama References: <1407159008.1433.YahooMailNeo@web122302.mail.ne1.yahoo.com> e2a3414f118ca2958923c69c0abecc45@mail.gmail.com <1407176358.38816.YahooMailNeo@web122301.mail.ne1.yahoo.com> In-Reply-To: <1407176358.38816.YahooMailNeo@web122301.mail.ne1.yahoo.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLAo3AD0SI8NySoocndshO8R1ykkQFN/yMxALIoQkEDV4/i3Zm0w3VQ Date: Tue, 5 Aug 2014 06:23:46 +0200 Message-ID: Subject: Re: upgrading postgres 7.3.4 to 9.1.9 To: Kevin Grittner , pgsql-admin@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org > Can I try the following , I just don=E2=80=99t want to break other databa= ses > already running on postgres9 > > Stop all instances from running > > ./configure --with-perl --prefix=3D$PATH Gmake Gmake install > > And then create an instance, and then pg_restore. Personally, I would get that new build in a new directory, make sure that it works with a PITR restore (or directory tree copy while the database is stopped) of one of the other 9.1 clusters, and make sure you can CREATE EXTENSION plperl before trying to convert this 7.3 database. Then you can move all the old clusters over to the new executable by updating your service script to point to the new executable running stop and then running start. (I have found that restart does not work for a minor upgrade -- a separate stop -w and start -w is needed.) Thanks Kevin,