Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0SSX-0008Vm-5W for pgsql-general@arkaria.postgresql.org; Sun, 03 Mar 2019 14:51:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h0SST-00049j-Nr for pgsql-general@arkaria.postgresql.org; Sun, 03 Mar 2019 14:51:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0SST-00049b-8c for pgsql-general@lists.postgresql.org; Sun, 03 Mar 2019 14:51:17 +0000 Received: from mail-it1-x144.google.com ([2607:f8b0:4864:20::144]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0SSK-00089b-Ko for pgsql-general@lists.postgresql.org; Sun, 03 Mar 2019 14:51:15 +0000 Received: by mail-it1-x144.google.com with SMTP id f186so2850601ita.0 for ; Sun, 03 Mar 2019 06:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FpAB13tHTU8C5jMbv3r2MxOQqEHh6yapQNTDgu/KXE4=; b=GZjsmS95vl7gJDQv3L2BzXK6/Z4Pr/ziuq5QJs56HNHwDqsJWABwKEL59gDOPiR67b YwzI+mHui5MVzPT0g6YB8yjlaDMwfqZPE55zuJZkM8Bc1lGqtMH9w05Exs+29oFzyTP0 ci978AbWR+jiKkLi7xZAQ+FsqeRr5VLWIgh5O9A/a1YlAMYn23SNJ4/9UiPth9nSd0Hc yUe1YKH6J+ruFl+Wxr+vR2UGM+5La/TWALxBnHD+dyQ92DZ0d1Wn2cUAO3+yz7+/OXSR T+z7EXW1WH1c+GA6LTyHu6PizC6buGR1iy7Wc9sfSb/2obOX6GiHPj8ceK24fK3jWT3v /c6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FpAB13tHTU8C5jMbv3r2MxOQqEHh6yapQNTDgu/KXE4=; b=Kv6N2QnpqQUb53/K/17WE/qqx2793chmmc0hCEYPAB7f9MyB7aujSmgB2Eu4BsJjo1 CYwTb5v4du0ui02Mu9pzl69Q2m41d5ECdkfPtcgPKrdxUHvIX3EC4El8rBogKwc38AmP e4HucBQKF6W4V6e0Qp4fdRRMN9Vs2DTG4oEhJFykyW40ZFrIuxHTTbs8zPDs6V4O2zK+ a+fqgU4jbcNwAQZe6I4WVcjiIF5OeBcCl48PVQvbT7ntL1diRuhLk3c0a3LUFZsgCmrL 0p8UleFXmSs30F7WKRSug0DQYl9WKOgQgDuPNSt7sjcya2HUR2Rwj4cTEmDNbE2OT+/w dCOg== X-Gm-Message-State: APjAAAVoOdhV0Rl8M0DRrU1pbbcxe0dO/P3hwHNv9zUay6M7J2TEDgdt dBT0O5zFR7rleKU8hvwqwH9H+Q== X-Google-Smtp-Source: APXvYqxg2P0hw4bh4oD4Rh7eFLt1j/RDRqW66mlVLjufhRfum8lgq7SDOkQsOLNZyqmbNOXlfTREvg== X-Received: by 2002:a02:7e87:: with SMTP id g7mr7625675jae.92.1551624667296; Sun, 03 Mar 2019 06:51:07 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g13sm1761958itf.15.2019.03.03.06.51.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 06:51:06 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 33AD8800C83; Sun, 3 Mar 2019 08:51:05 -0600 (CST) Date: Sun, 3 Mar 2019 08:51:05 -0600 From: Justin Pryzby To: Perumal Raj Cc: Sergei Kornilov , pgsql-general@lists.postgresql.org Subject: Re: Question about pg_upgrade from 9.2 to X.X Message-ID: <20190303145104.GA27559@telsasoft.com> References: <7164691551378448@myt3-1179f584969c.qloud-c.yandex.net> <6762391551380655@sas1-23a37bc8251c.qloud-c.yandex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Moving to -general list (-hackers is for development topics like proposed patches and patch reviews and beta testing and crash reports). On Thu, Feb 28, 2019 at 10:13:58AM -0800, Perumal Raj wrote: > could not load library "$libdir/pg_reorg": > ERROR: could not access file "$libdir/pg_reorg": No such file or directory As Sergei said, you can run pg_dump -s and look for references to reorg, and drop them. Or, you could try this: CREATE EXTENSION pg_reorg FROM unpackaged; Or maybe this: CREATE EXTENSION pg_repack FROM unpackaged; If that works, you can DROP EXTENSION pg_repack; Otherwise, I think you can maybe do something like: DROP SCHEMA pg_repack CASCADE; -- or, DROP SCHEMA pg_reorg CASCADE; Please send output of: \dn