Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YEIIG-0002S9-1X for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2015 13:59:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YEIIF-0004RL-Eh for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2015 13:59:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YEIIE-0004RE-9i for pgsql-admin@postgresql.org; Thu, 22 Jan 2015 13:59:30 +0000 Received: from mail-yk0-x232.google.com ([2607:f8b0:4002:c07::232]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YEIIB-0004VJ-D4 for pgsql-admin@postgresql.org; Thu, 22 Jan 2015 13:59:28 +0000 Received: by mail-yk0-f178.google.com with SMTP id 20so690545yks.9 for ; Thu, 22 Jan 2015 05:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+p2Hv6d5zVPbIHAzE/ekuGuprI7D8EBnv6UIpYXcIXU=; b=05YJVrhtuXDyBnIxVLWkWtH4OU6w/4V1X91w0vzQT2DEaYs1nCq84l1WO1eAMFoNtX hF7sgwmTAB0xtGalleFjN8PZ2/jkBXWb+LIyeTrVFjGLscMrKHSjWW3RFYjAw2JbynWt K3JNYD0TYP6juCer/TI8x/I5m3tY+HOAOCy9sXnWFTCtRCrG2UrqtAtzh4qORF77bOL3 Wj7RLNF7ZEdJkVxNvGLBxGS9rrkyqTE8wsIWFd99VwqGUnIBNmEEke170N6vW4bNFYY9 WuYhPCvyjk21BiwwJYgtRM7kVueHPV+mPqvpuAB52AZ87R2ne7ErpkM6s8Ui5PlsiKWr t9kg== X-Received: by 10.236.14.135 with SMTP id d7mr820214yhd.3.1421935166591; Thu, 22 Jan 2015 05:59:26 -0800 (PST) Received: from [192.168.254.3] (h77.89.102.166.static.ip.windstream.net. [166.102.89.77]) by mx.google.com with ESMTPSA id x46sm1850260yhx.49.2015.01.22.05.59.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 05:59:25 -0800 (PST) Message-ID: <54C1023B.1080508@gmail.com> Date: Thu, 22 Jan 2015 08:59:23 -0500 From: John Scalia User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bruce Momjian CC: "pgsql-admin@postgresql.org" Subject: Re: Back to my pg_upgrade stoppage problem References: <54B934A3.9020604@gmail.com> <20150122034617.GB19475@momjian.us> In-Reply-To: <20150122034617.GB19475@momjian.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 I did manage to get everything working properly yesterday. What I did not first realize is that while pg_upgrade requires both the original server and the new one to be off, if your original server is the primary in a streaming replication cluster, then the standby(s) must still be running when you start pg_upgrade. The temporary table creation appeared hung as the primary was waiting on the standby to commit the change, but it wasn't running. After resolving that, I hit another snag where pgpool had a function installed that I couldn't easily find to remove it. pg_upgrade would fail stating it couldn't find the function's *.so to apply to the new instance. I ended up pulling a pg_dumpall from the original instance, and manually looked in that to find anything with the name pgpool in it. I then removed those from the Db, and pg_upgrade completed successfully. Thanks to everyone for their assistance. I just needed to think a little harder on what was happening. On 1/21/2015 10:46 PM, Bruce Momjian wrote: > On Fri, Jan 16, 2015 at 10:56:19AM -0500, John Scalia wrote: >> Hi all, >> >> I'm back to trying to figure out the pg_upgrade stoppage problem on >> my V9.4.0 upgrade from V9.3.3. As stated earlier, my environment is >> CentOS 6.5 kernel and the server is virtualized, but has been >> running 9.3.3 for some time now. I ran pg_upgrade on this system as >> follows, I apologize for the length of the message but I putting the >> entire screen capture into this. You can see at the end that it got >> hung up trying to create a temporary table, but the server has been >> on this step for nearly an hour now. It had successfully performed >> several queries prior to this, and those were successful. > I suggest you upgrade to V9.3.5 at a minimum. Second, try the why on > its own to see if it works. > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin