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 1lm3CD-0002Xk-Mc for pgsql-hackers@arkaria.postgresql.org; Wed, 26 May 2021 23:44:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lm3CC-0003nm-DR for pgsql-hackers@arkaria.postgresql.org; Wed, 26 May 2021 23:44:16 +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 1lm3CC-0003nd-5X for pgsql-hackers@lists.postgresql.org; Wed, 26 May 2021 23:44:16 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm3C8-0005KF-1G for pgsql-hackers@postgresql.org; Wed, 26 May 2021 23:44:15 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CA2B2160C; Wed, 26 May 2021 19:44:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 26 May 2021 19:44:08 -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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=bTyhBM6SM/GKmvjoaSJCuO926kVInh2j5ekG6HrU19s=; b=AlBq/Ryv OxF02c8f9qXJpRqNFgmwW2ooUgJSh5Gs8T8BICDItg3pzO/9SPp+VrN/yRld68iv J0aR2GZXDACvziTKG+hdeZi98MhnmYZvn+SBPm0/Scqv8KqJzZjSb3ZQp5uDPfAY 2gN+1+UNx9DeCq/mVl/+mcI1nfceUjdewecRqeKYfko2vn/cxkChP0ThbsFe9WLT NCvEhnTFXJF7jkhVVuNEkqrvWPx4WFziYfJAqESSJMjq+PnXVvfYM/SdE4d1sX7E s8lDWyTkSRkLGN9FHDsgtp1mSSTDqoWC3iZpFDBU1g1aejlZ5zAgCYkJnolXe6KQ f2gf3fv/M80R6A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekgedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttddunecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeggeevveffveejffdutefhvddtgeeghffhgfeuhfefjeei gfevhfefleevtdduteenucfkphepudeltddrleehrdduledrleehnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhv hhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 May 2021 19:44:06 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 793472A0A8B; Wed, 26 May 2021 19:44:03 -0400 (-04) Date: Wed, 26 May 2021 19:44:03 -0400 From: Alvaro Herrera To: Tom Lane Cc: Robert Haas , Michael Paquier , Justin Pryzby , Andres Freund , pgsql-hackers@postgresql.org, Dilip Kumar Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size? Message-ID: <202105262344.uo3thib7lpml@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1666832.1622067703@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-May-26, Tom Lane wrote: > Alvaro Herrera writes: > > It would be good to have a test case in src/bin/pg_dump/t/002_pg_dump.pl > > for the case > > Personally I won't touch 002_pg_dump.pl with a 10-foot pole, but if > somebody else wants to, have at it. Nod. > > ... and I find it odd that we don't seem to have anything > > for the "CREATE TABLE foo (LIKE sometab INCLUDING stuff)" form of the > > command ... but neither of those seem the fault of this patch, and they > > both work as [I think] is intended. > > Hm, there's this in compression.sql: > > -- test LIKE INCLUDING COMPRESSION > CREATE TABLE cmdata2 (LIKE cmdata1 INCLUDING COMPRESSION); > \d+ cmdata2 > > Or did you mean the case with a partitioned table specifically? Ah, I guess that's sufficient. (The INCLUDING clause cannot be used to create a partition, actually.) -- Álvaro Herrera 39°49'30"S 73°17'W "Now I have my system running, not a byte was off the shelf; It rarely breaks and when it does I fix the code myself. It's stable, clean and elegant, and lightning fast as well, And it doesn't cost a nickel, so Bill Gates can go to hell."