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 1gPG0T-0002db-Dz for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Nov 2018 00:04:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gPG0Q-0006cc-Jb for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Nov 2018 00:04:34 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPG0Q-0006cV-D9 for pgsql-bugs@lists.postgresql.org; Wed, 21 Nov 2018 00:04:34 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPG0J-0000Cb-CK for pgsql-bugs@lists.postgresql.org; Wed, 21 Nov 2018 00:04:34 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7305AC36; Tue, 20 Nov 2018 19:04:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 20 Nov 2018 19:04:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=4tR/lIWD1QOQLZVSjqXQlYq5CZq mi+1PzTAg8Fbj2uk=; b=mlgmz9kfiWUjQWQABe1aKDLBkUefhnTyfj1rceQxzzk XmiRY4uhStd2CuT3g4rS1kOEwk9MFw4mU23Bj5fbOKmd7i/IyElx8eAX+aNGOoEd 37Y874JUhLmGDNA+cDw1m5PkfkYaJcMVey1cyv4EoVT2SWJ4IYZSrBAJF8zpEUBg J+A/ESo/z9v7uZhtL3gf0V52B7Njw+sPognbCW9dWaV7pPA9ET1ipNh6veLK8amP 95ZairtPLjRwhnmrM0FnaUI5PHyfkOUtdKvirRC6KvD20dd5aux/ORgUQFnDD+dS B2cUEOS7VbE1Rp8ty3Z+9fCOWFZsOm2hitx8MhfOiIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=4tR/lI WD1QOQLZVSjqXQlYq5CZqmi+1PzTAg8Fbj2uk=; b=oFV/xp3CgmlavBU03m2HvH WF1ntpRxeX6IgzGSRF1uRuo4l8JIXcg3lZ+yP+MV3tSV0EcU7VBWJv9UJGiHZlnO QdbK8S3SMOqT3/Dp5NriOWwbM5i2LJzra2aXFm38FJKx0UA4kA8sWcmwdf55ruNK Eh1uz5axSyJXEwxLnlr49ZbtKsPg/WiWmXONs2dAP8Lf7fRxirYe3CriD0k9Xm8D rmWLsx624napVjDk/e4nwgsN1CUOq8P1q9nKe+Cm3CWM5M3JgKBe7caps2xN0mz4 pmRWfMXogRu11o+TvIh1reDILhV/NRioSGaVHrXXqCoPVboOF/vlegm2WsicfW5Q == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id E49DAE407B; Tue, 20 Nov 2018 19:04:20 -0500 (EST) Date: Wed, 21 Nov 2018 09:04:17 +0900 From: Michael Paquier To: Adrien NAYRAT Cc: pgsql-bugs@lists.postgresql.org Subject: Re: ALTER INDEX ... ALTER COLUMN not present in dump Message-ID: <20181121000417.GC1951@paquier.xyz> References: <4498621542278682@iva3-0d9a30469759.qloud-c.yandex.net> <4847941542280801@iva7-4f557d6b60d4.qloud-c.yandex.net> <2b5f4be0-9a67-a5d7-4561-09871378a991@anayrat.info> <20181115224601.GB6613@paquier.xyz> <20181116004505.GC6613@paquier.xyz> <20181116083252.GF6613@paquier.xyz> <20181116133103.GA3427@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eHhjakXzOLJAF9wJ" Content-Disposition: inline In-Reply-To: <20181116133103.GA3427@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --eHhjakXzOLJAF9wJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 16, 2018 at 10:31:03PM +0900, Michael Paquier wrote: > On Fri, Nov 16, 2018 at 05:32:52PM +0900, Michael Paquier wrote: >> And here you go as attached. Looking closer, in v10 and older versions, >> ALTER INDEX SET STATISTICS is able to work as it is an alias of ALTER >> TABLE. The attached patch does not bother generating the ALTER INDEX >> queries for v10 and older and feeds queries with empty strings. Perhaps >> we should support that case? Or the lack of complains would be an >> argument sufficient to care only about v11 and newer versions? I would >> tend to think that supporting only v11 and above is enough. Thoughts >> are welcome. So, any thoughts about this patch? I would still like to move on with only supporting this set of queries only for v11 and above as that gets only clearly documented on the ALTER INDEX page from that point. -- Michael --eHhjakXzOLJAF9wJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlv0oQEACgkQnvQgOdby QH2dKw/9EY5rxkmiT1lk7VrzgHUuFhp3NJjxXblKuHfFN/tntUMnMTGC0QkJQ/12 VXd7Cf5UZoHsfj65+G59gymhm60UEjWAJXNWjDI04oYzxB3nnIujmnj0erQ/j/co Xu7B6hE8YAoynEwnHCAbtqfiU7QEm4cKO948UiZ0+lqqpvqyAoSCVYx/PHUWHTT6 q4ugttjGNdhIOB1HQubny2MECRe3eIpAAZcQaUfI5FWSotHyr5i/3Bi3LciCQ6Iw awTo/1OZ238TV3fFu3Cjdm7UkCq2DPwg2mq47YN+uXCdZ5H/dWCye79xZOWYAiLF q54Nn8JaIPX3Ed3M84I7TtDcvz2/12hitpKOssdzoa8FEv/D/ENnA2UsuRf97hpC +YAjU6+Th8Yvaxi5qN8HZgBlRU6sLlIPuX/HluP+3DC56REVdcDKVY+NAsPM2HCR X2vgtU2L58bQEIfbv+vyybJW0KfwkuOF6nTWvvPRHDvSE2sEPMvgArVnIEx9xHHk bEfHm3OMfS2J03sunccgUQwXOHuueeoiwFfm1+a+tMtnpCRYfSggolvvmZyrsPDF TubgZexsBpUhWH3RdiPYYkjGF4ql3UEjv/H2RHRx1b5Z5EhfTxKgxPaRdzLboBlW ZiqiVyDxPNFlp3r4kZAVjkxtTHCJxL7j/Yuj2iix62DWt+1xCCA= =PYgp -----END PGP SIGNATURE----- --eHhjakXzOLJAF9wJ--