Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fra57-0006Hf-5N for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Aug 2018 02:38:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fra55-00045F-54 for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Aug 2018 02:38:11 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fra53-00044q-9u for pgsql-hackers@lists.postgresql.org; Mon, 20 Aug 2018 02:38:10 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fra4r-0005BJ-J2 for pgsql-hackers@postgresql.org; Mon, 20 Aug 2018 02:38:08 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3CE80215F2; Sun, 19 Aug 2018 22:37:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 19 Aug 2018 22:37:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=yNDIqqc7evMU2zdV18kS048eVTvA8WhCuWC3VshljN0=; b=lBcBT2fj 42Xp0OYxy4KYnZqhNeRVlMKG7Sw6ZZ7lLATalB+6a5GDw8ehxbLogUAzSJOY63nb es2vi2fnVDeTg6ajWVId/yt140d5eCaM2wmWIBYB7iyIBfgabNvjy9CRkbtmn5KC BDPCymPh6zRk+5nm7TZOxa7P5Zqi40fr5TJjiV4u5NJGTnPu9oW4ni92u8LTJ7Ds EpYMJ5waJa7AxlstDCDo1zMDEYfxoaF6X9fjagtiDLb5Bsm3i7eNNZdasfhXMM/W uh4AM+PUz4bsz3O3qKby9qbYn4ESIjHrLqdhyeEYHVxUIDitAccTxffBR9V4iDe9 CnyRbxNqIFBrBA== 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-sender :x-me-sender:x-sasl-enc; s=fm3; bh=yNDIqqc7evMU2zdV18kS048eVTvA8 WhCuWC3VshljN0=; b=lCcAsTGcwqtTnFIYOt01vLht/c1E405Fxz+n52oMqYtd2 kGsl3teDz9XAsalD2Gowu3abDCKsm8VnbCe3fjwVux5P7shn+ZzhRIqG/xxHxQU2 ugAZ9/IFNHibqsf3GBdHauk5wXy/vSRG+ov8CBh7Id7DZvnBevUp3jTb1nr/x8lK HxBdMdcuVu+fp2bhFurQT92VPLw54J8gnY5XRU19sjme3kPOdSVAfIuvaI6bKqoX AFBQyCPRSTDA1c4CzfE5yRXljpEJ8tOi+Vdb5IvFuhHCv+hUxgPTz2zwqASc9zHi LymWsXHKWjadA/fyg2V34PsEYCpkOZmjWzz7irp3A== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id BF157E4015; Sun, 19 Aug 2018 22:37:52 -0400 (EDT) Date: Mon, 20 Aug 2018 11:37:49 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Andres Freund , pgsql-hackers Subject: Re: ALTER TABLE on system catalogs Message-ID: <20180820023749.GD7403@paquier.xyz> References: <20180627203733.bfpibxdleimvwdg2@alap3.anarazel.de> <20180627230838.GI2667@paquier.xyz> <9fb22a98-fd64-1426-a4f4-b927ce1a9a5e@2ndquadrant.com> <920b7cde-6926-4ad3-936b-7637f0a8188f@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W5WqUoFLvi1M7tJE" Content-Disposition: inline In-Reply-To: <920b7cde-6926-4ad3-936b-7637f0a8188f@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 13, 2018 at 11:05:10AM +0200, Peter Eisentraut wrote: > After reviewing that thread, I think my patch would still be relevant. > Because the pending proposal is to not add TOAST tables to some catalogs > such as pg_attribute, so my original use case of allowing ALTER TABLE / > SET on system catalogs would still be broken for those tables. Something has happened in this area in the shape of 96cdeae, and the following catalogs do not have toast tables: pg_class, pg_index, pg_attribute and pg_largeobject*. While 0001 proposed upthread is not really relevant anymore because there is already a test to list which catalogs do not have a toast table. For 0002, indeed the patch is still seems relevant. The comment block at the beginning of create_toast_table should be updated. Some tests would also be nice to have. -- Michael --W5WqUoFLvi1M7tJE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlt6KX0ACgkQnvQgOdby QH3o2A/5AWv+HlSo+A5drSkc3xdPAllv1IsKQ71cLHe1ZZrKpXfTGLUL0VK0sEUb v/1SYsDj2Q43A8oysE8u2H8ZECkjpLsb1BZerZpVqm4Ud0DPkjOT44KoSFLDHp3L xT4RNymY1aqqoVALj7PQjc64A/u8jD2zwF6y6r5wqY5M7amWHdqgOxdZJ+razMgh KdxDRzEPWpDqYbMh1d3FnNkNR34iUM4HkGtk0OYsmvHQ+gyiKWQWTd8KxWaVeU0u 26A4psE9ZEUdsUVX6UzBh5o5lV60J4DFs17c2BR4MjyX5xWMvm8GAvCbZwBv8VpV sRX2+j9/wapSNeIQVapvctokrSY5luaIlw2TT9WTO+gCg/laJkQn57DNxULJrYjF LbIUczunAP04iA3XxqkUGfn9DE6kLUcYE5QmYgcyal2qGRrUr/CSUC/7PkNyN0QJ LBtlFH2cixnt03Z6YZERMob6ho2dI5jYpJb2bdfY5q2jOzRsTxL+h15Yp1k5MDad d+sAdgsGfRGtw41rvU5kiyG5lflb492dtM5CTmlpmsRDuniTPXaSDpvV9w8svbH7 ZajWEccI5XAgv0ybGGoEBziSV2N+SktX9i+RmULJYouVuHId0O5SQmWmfSzq1yHi 9dzZRT2tAXjIC0EtVa07SFxheE/vs76XKQ+gwFO6E/IOBcPOTiU= =65Ox -----END PGP SIGNATURE----- --W5WqUoFLvi1M7tJE--