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 1h1qKW-0002Af-CJ for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 10:32:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1qKV-0000Na-0L for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 10:32:47 +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 1h1qKU-0000JA-GM for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 10:32:46 +0000 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1qKR-0006tL-8K for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 10:32:45 +0000 Received: by mail-it1-x143.google.com with SMTP id e24so14476302itl.1 for ; Thu, 07 Mar 2019 02:32:42 -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=NniFw8/udT3nliGXWGBWv60/quUQjA2lt3VwRIuTOo4=; b=zuZ0QU/YxLiGxzS+FGGTPVJ7URVTFy0jO62c/7cZHcxnpnVRAiqXkvYHJPImvB9q4W c21+jWMUE+0+LUeDmYW3vp69zWNXc3+SHj44NSHm5I6JjFRJSGP1A2dEQf6ZW1+buTk5 RVHjYsK6jPutoe0u9K8116AwUvvsATRUZtIXiKXtdjTnnPwchd8AN1bMFmr/ggSHZqc9 en0p0iEU2p/ggjWGeIG6c9pPnpixJ79pCXHfq4FXpTza9dkyb3TCtq6f9SB91DbnxBgS bzMBieX/UURy1r+N7hlYfXDjginthfaspBoTE3G21ZPi7/TXs8ugQRmOZRHdcG5RrTtk WeJA== 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=NniFw8/udT3nliGXWGBWv60/quUQjA2lt3VwRIuTOo4=; b=seqJE7+atqDgUSsd/0q+VCamK/qWasUWJ+ItKKEMCi1B+H5ZYib01qDsVhMdKw73+K IYxqYpIXlcWyPMFNZyQLs/wchh69qEb85owEP69KGQsaWtckHNVVVyL43Nx6vqt5e2By Lrq2QeDndRLymU9Cl5SBI1giQZANfffwDAHHe9PvUlsOtIWeLTA0bVYYo+3Z+FmZ1gwP bSVA4q50jGOzk6UdeHuBaLm3fSa5jAUyuNKcgF1ZhNDOGTNbu9eNBn3G8WrWCOVdMA4n 6lsdvR71C1frSOsUTOYsuffKx9Q6EauAwSIsCP1ZkbAb5HomsOl3UxuHBj0gQn6SFSCB smPQ== X-Gm-Message-State: APjAAAVGg/iGB/StdSLqYMMimvYkV2aafYUwkHI7pz44g0goWfQrPevA cmdpuKtS2U/aebCEljPNJgTNKw== X-Google-Smtp-Source: APXvYqwpRgLpR5gk4HpcWbTLh9X33ANq8FUwbfNgZVn/FMjBFSPIV6bQA7hSbgkQwBl2dkj4EWOP/w== X-Received: by 2002:a24:545:: with SMTP id 66mr4689705itl.35.1551954762304; Thu, 07 Mar 2019 02:32:42 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id q17sm1930806ior.71.2019.03.07.02.32.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 02:32:41 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id F140E800FD3; Thu, 7 Mar 2019 04:32:39 -0600 (CST) Date: Thu, 7 Mar 2019 04:32:39 -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: <20190307103239.GA8083@telsasoft.com> References: <6762391551380655@sas1-23a37bc8251c.qloud-c.yandex.net> <20190303145104.GA27559@telsasoft.com> <268361551771767@myt6-fe24916a5562.qloud-c.yandex.net> <20190305162145.GV29584@telsasoft.com> 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 On Wed, Mar 06, 2019 at 09:44:16PM -0800, Perumal Raj wrote: > Any pointers for pg_repack schema creation ? With recent postgres, you should use just: "CREATE EXTENSION pg_repack", which does all that for you. > Will there be any impact in the future , Since i used --link option ? You probably have an old DB directory laying around which is (at least partially) hardlinks. You should remove it .. but be careful to remove the correct dir. My scripts always rename the old dir before running pg_upgrade, so it's less scary to rm -fr it later. Justin