Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqfC5-0007qG-7q for pgsql-docs@arkaria.postgresql.org; Fri, 26 Nov 2021 17:39:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mqfC3-0005ML-MV for pgsql-docs@arkaria.postgresql.org; Fri, 26 Nov 2021 17:39:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqfC3-0005MC-F1 for pgsql-docs@lists.postgresql.org; Fri, 26 Nov 2021 17:39:27 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqfC0-0008CY-71 for pgsql-docs@lists.postgresql.org; Fri, 26 Nov 2021 17:39:27 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A31E13200927; Fri, 26 Nov 2021 12:39:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 26 Nov 2021 12:39:22 -0500 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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=cbvPATNb3jGdxTaNLYpVurK0LCzpsnwvxeHYdaUAglo=; b=A7AU0NMg BrnnduZx+eRHQXrGl6v361ekndlwUV1kWFfGyjIElXSUVzkMWWVXV/BAXWF+78NX LH0eEmeVUzkKKDbJqsqZcHz9hL0vHhPdlNzNl+VPJ1u7ognSqLIjotSwRxrMLXuN Ed6pcOSaR3zd4Fj9ufq2I2iDoC0s+7vRJ8nxnTyEbKD+GrQFN+DDD5g6YS1XLb0W 7/Svh1mmGWvJrFeLKOtfnuofheVAKso9p77Acu3oYMfhAhTnRFrz7TB3O14+yuwy 7RweDxFkr8YR6QcMhbjvf38rvB3jRmoYQ+UY6yAwX7h9Q+zADCjGM4UMcJXQDCuB B1t6cP8ZbCPs9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrhedvgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Nov 2021 12:39:20 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A7B392A07D2; Fri, 26 Nov 2021 14:39:18 -0300 (-03) Date: Fri, 26 Nov 2021 14:39:18 -0300 From: Alvaro Herrera To: "nikolai.berkoff" Cc: Michael Paquier , Euler Taveira , "pgsql-docs@lists.postgresql.org" Subject: Re: ALTER TABLE ... SET DATA TYPE removes statistics Message-ID: <202111261739.ngtcaaddsgst@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Oct-26, nikolai.berkoff wrote: > Thank you, this reads better. > Is there a reason in the docs there is sometimes > > ANALYZE > > and sometimes only > > ANALYZE > ? I prefer the link if there is no hard rule. I pushed this on November 5th; it is commit df80f9da5c6541e744eeb20eaca919c7fc189999, including this suggestion to cross-ref to ANALYZE. Thanks for reporting this -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/