Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rZY4e-0056MI-IO for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Feb 2024 15:18:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rZY4d-00AZII-1K for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Feb 2024 15:18:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rZY4b-00AZIA-4C for pgsql-hackers@lists.postgresql.org; Mon, 12 Feb 2024 15:18:22 +0000 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rZY4X-006pHv-2o for pgsql-hackers@postgresql.org; Mon, 12 Feb 2024 15:18:20 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id A60EB13800AC; Mon, 12 Feb 2024 10:18:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 12 Feb 2024 10:18:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1707751094; x=1707837494; bh=gDf/5RgXqppOFHX3hyTVKQGksRpVYcyT NF/nHmO0Vko=; b=EnjNCD5rsWdhjpo+x2K5azP6AI+mY0QIHBTzf5AZaZJcNa0J P/KUSd3p0c8n4H8iNqkA7gFdXQK3mc1wr8EqQlNTJ68INfR1jEGggWVljmq9KM1c Bx8Zvq5Eoq+2rbnjBaXATpOHBWJs8rptFYbatv1aI0BGCuixcZCkexwibpyv5g2A 2J3DCcMxqzw/76dn4nCTRKUm4jVGAumE1p/xxjmk5EcJiowcNKUfRq16B46D4sWn w8FeuwW1rB4tFDMvEFuHALfwNibZnFmWMFKk8CM6GASq2Ln972l2hH7O3NhQkFMo S6y3rrW3QonEuh3SpmB0Vm2/wA8MTHNWtxPTMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707751094; x= 1707837494; bh=gDf/5RgXqppOFHX3hyTVKQGksRpVYcyTNF/nHmO0Vko=; b=O W6rfebL8vUSAfmHJQFAkzmVZImqOILjDcZ1aC6MaWPUofs+vLJaw4ruk2P/nhhsr YTA8RAJ9Xkkp2oOxGCigoEIUB+1WsTd/UoJ7CrwgtXPW680dkGEtikwy1onwIaoP Y7uHxb90WXzyJYqU8TPrusFUKeQ4HveiDD0eWnDiDa5KEmCQTBbrRamwwfz/Q97K RbYh1WPfnsWLlKX5hVPutbQw90ZELmuxt+FVdfP6LwgbowHZ9jep10Ohh+9PWFMV kPsHxI9cxpxMcshGXAKX7chA4IX0MmTwu+p5quevc3UQv0/1bi51J/C/7DAW7unZ uE1GfJwJod/4AVsRHjNJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtke ertddtvdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr segvihhsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepjefhveehtdetgf ffhffhfeefgffghffflefgieeuueekhedvhedvfeehffdvfeeunecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhesvghishgvnhhtrh gruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Feb 2024 10:18:13 -0500 (EST) Message-ID: Date: Mon, 12 Feb 2024 16:18:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: table inheritance versus column compression and storage settings Content-Language: en-US To: Ashutosh Bapat Cc: pgsql-hackers References: <24656cec-d6ef-4d15-8b5b-e8dfc9c833a7@eisentraut.org> <38546838-8a60-4d50-ba8e-b2c7cf2cb64b@eisentraut.org> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 08.02.24 08:20, Ashutosh Bapat wrote: > On Wed, Feb 7, 2024 at 12:47 PM Ashutosh Bapat > wrote: > >> 0001 fixes compression inheritance >> 0002 fixes storage inheritance >> > > The first patch does not update compression_1.out which makes CI > unhappy. Here's patchset fixing that. The changed behavior looks good to me. The tests are good, the code changes are pretty straightforward. Did you by any change check that pg_dump dumps the resulting structures correctly? I notice in tablecmds.c that ALTER COLUMN SET STORAGE recurses but ALTER COLUMN SET COMPRESSION does not. I don't understand why that is, and I wonder whether it affects pg_dump.