Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0H1h-0004Gn-4D for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Mar 2018 01:34: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 1f0H1f-000138-V4 for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Mar 2018 01:34:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0H1f-00012y-Nf for pgsql-hackers@lists.postgresql.org; Mon, 26 Mar 2018 01:34:19 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0H1c-00076z-4J for pgsql-hackers@postgresql.org; Mon, 26 Mar 2018 01:34:19 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 06D9320C11; Sun, 25 Mar 2018 21:34:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sun, 25 Mar 2018 21:34:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LbZlFa p33BXn7Xf/2/YQThYwsvAU9y9hNV2A20g0c5M=; b=QDoZt2IGLuF4TmOKdEi4Jw mdKQ/2CytVSl9FLpbprOzlSDErLLaKuMnaPXblXX/8t4abA+sOTa1zYuDAvum8i6 yCeyHVwLzTSmAcCyzjHCLAiI2oHr/Q/mzvlV2Jfw9ut/rklJUpNTrxo+COgLTg+3 5ujOSqMR+Vgpyig/1ygT3PNnKl+zIUZkGZ44fkh/svI4Ha6RLJIR9KTp3Bt5azXL 9LMQPPZBmM8cKN1dLFS6NweTIW3M2G2pq4FoY9Bb5p1n8Jz76VdtvafAxALpM8Lg WyZmCTe6lnknJCB+q6AhNsahShZae4+N9+kRhrUd9ag0HDXNPLSbLNaXcybYUg1Q == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id B8344E4CEA; Sun, 25 Mar 2018 21:34:14 -0400 (EDT) Subject: Re: file cloning in pg_upgrade and CREATE DATABASE To: Bruce Momjian References: <20180319070636.GA4633@paquier.xyz> <20180319071415.GB4633@paquier.xyz> <20180320025849.GB4963@paquier.xyz> <678999c6-0967-d22a-e7d1-2a3aff83a77b@2ndquadrant.com> <20180323171650.GI1302@momjian.us> Cc: Michael Paquier , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <4a62b089-ee93-50ee-f3f7-43c67b4c8ea4@2ndquadrant.com> Date: Sun, 25 Mar 2018 21:34:14 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180323171650.GI1302@momjian.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/23/18 13:16, Bruce Momjian wrote: > Also, it would be nice if users could easily know if pg_upgrade is going > to use COW or not because it might affect whether they choose --link or > not. Right now it seems unclear how a user would know. Can we have > pg_upgrade --check perhaps output something. Can we also have the > pg_upgrade status display indicate that too, e.g. change > > Copying user relation files > > to > > Copying (copy-on-write) user relation files That would be nice, but we don't have a way to tell that, AFAICT. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services