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 1jRGL5-0004Ls-Ed for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2020 14:26:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRGL3-0006hX-Lp for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2020 14:26:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRGL2-0006hQ-PW for pgsql-hackers@lists.postgresql.org; Wed, 22 Apr 2020 14:26:57 +0000 Received: from forward4-smtp.messagingengine.com ([66.111.4.238]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRGKy-0000FR-5I for pgsql-hackers@postgresql.org; Wed, 22 Apr 2020 14:26:55 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id CE9F019403BA; Wed, 22 Apr 2020 10:26:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 Apr 2020 10:26:50 -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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=QW8l8jhPm6HbbFUhz+r4QYsgcImXPtMexqougVkJE +I=; b=Q+HaoafY5IMAzx6IxWyXoLRUgBxvsc6dAcc61PE7PQ8sTcjf+f9Tew1ZT Ji1BH5PKrlGFEqBM8d2d4D64t9t9WI8OoIswo721e1xULn97uPJi+R4/r1nvmiLl TQV5xx31nnRZVizZ48E0rkInmLAQCExSczhw59Uecvwvd4ZeNNcUmzL2nQSEbENS G2NDR9UOVXBi9ljD2TJSRlwfnjxsFzWo0gmZ7cZPEX7+ePVf3AKb7odXXa1WuRUJ cGgktPmtD29DBgIcAWj+CY3YY2P8AEg3EePrer2MxzcIVGciw0MK3c8jsIyBCf1M u5sWEQw3IN3nS2c/zJeoeJCSz+s8A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeejgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqh hurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdrtgho mhenucfkphepleefrddvgeefrdeirddvgedunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhgu qhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df306f1.dip0.t-ipconnect.de [93.243.6.241]) by mail.messagingengine.com (Postfix) with ESMTPA id A59813280067; Wed, 22 Apr 2020 10:26:49 -0400 (EDT) Subject: Re: ALTER TABLE ... SET STORAGE does not propagate to indexes To: Alvaro Herrera References: <20200421235636.GA29434@alvherre.pgsql> Cc: Kuntal Ghosh , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <8be09419-ed3d-93f9-9c29-2824b44a2c56@2ndquadrant.com> Date: Wed, 22 Apr 2020 16:26:48 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200421235636.GA29434@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-04-22 01:56, Alvaro Herrera wrote: > I'm surprised that this hasn't applied yet, because: > > On 2020-Apr-09, Peter Eisentraut wrote: > >> One thing to remember is that the current situation is broken. While you >> can set index columns to have different storage than the corresponding table >> columns, pg_dump does not preserve that, because it dumps indexes after >> ALTER TABLE commands. So at the moment, having these two things different >> isn't really supported. > > So I have to ask -- are you planning to get this patch pushed and > backpatched? I think I should, but I figured I want to give some extra time for people to consider the horror that I created in the test_decoding tests. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services