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.92) (envelope-from ) id 1jAGeY-0001vt-0k for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2020 17:20:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAGeW-0003eS-T8 for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2020 17:20:48 +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 1jAGeW-0003eL-Ki for pgsql-hackers@lists.postgresql.org; Fri, 06 Mar 2020 17:20:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAGeU-0005JY-Eh for pgsql-hackers@postgresql.org; Fri, 06 Mar 2020 17:20:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 026HKhjv010878; Fri, 6 Mar 2020 12:20:43 -0500 From: Tom Lane To: Tomas Vondra cc: pgsql-hackers@postgresql.org Subject: Re: Allowing ALTER TYPE to change storage strategy In-reply-to: <20200306134218.rgcaddnbcudcu5hm@development> References: <20200229012511.7h23frunvvxwai7q@development> <9226.1582940133@sss.pgh.pa.us> <10968.1583176270@sss.pgh.pa.us> <20200302220531.cdz4rlbw5gmcicsa@development> <30065.1583347198@sss.pgh.pa.us> <14527.1583363728@sss.pgh.pa.us> <27393.1583366202@sss.pgh.pa.us> <20200305190513.y4j3ckkvpzrgiy2y@development> <17431.1583437964@sss.pgh.pa.us> <13399.1583448404@sss.pgh.pa.us> <20200306134218.rgcaddnbcudcu5hm@development> Comments: In-reply-to Tomas Vondra message dated "Fri, 06 Mar 2020 14:42:18 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10876.1583515243.1@sss.pgh.pa.us> Date: Fri, 06 Mar 2020 12:20:43 -0500 Message-ID: <10877.1583515243@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tomas Vondra writes: > On Thu, Mar 05, 2020 at 05:46:44PM -0500, Tom Lane wrote: >> For ease of review I just added the new TCFLAGS value out of >> sequence, but I'd be inclined to renumber the bits back into >> sequence before committing. > LGTM. If I had to nitpick, I'd say that the example in docs should be > ALTER TYPE mytype SET ( > SEND = mytypesend, > RECEIVE = mytyperecv > ); > i.e. with uppercase SEND/RECEIVE, because that's how we spell it in > other examples in CREATE TYPE etc. OK, pushed with those changes and some other docs-polishing. regards, tom lane