Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEKok-00078c-Td for pgsql-hackers@arkaria.postgresql.org; Fri, 26 May 2017 19:22:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dEKok-0003mQ-G5 for pgsql-hackers@arkaria.postgresql.org; Fri, 26 May 2017 19:22:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dEKn8-0007rL-K9 for pgsql-hackers@postgresql.org; Fri, 26 May 2017 19:20:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dEKn2-0003lx-Kn for pgsql-hackers@postgresql.org; Fri, 26 May 2017 19:20:53 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4QJKlfP016696; Fri, 26 May 2017 15:20:47 -0400 From: Tom Lane To: Vik Fearing cc: PostgreSQL-development Subject: Re: Renaming a table to an array's autogenerated name In-reply-to: <08811d08-4369-11a5-68a7-ac3482655461@2ndquadrant.com> References: <0f4ade49-4f0b-a9a3-c120-7589f01d1eb8@2ndquadrant.com> <29404.1495747497@sss.pgh.pa.us> <08811d08-4369-11a5-68a7-ac3482655461@2ndquadrant.com> Comments: In-reply-to Vik Fearing message dated "Fri, 26 May 2017 13:31:29 -0400" Date: Fri, 26 May 2017 15:20:46 -0400 Message-ID: <67129.1495826446@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Vik Fearing writes: > On 05/25/2017 05:24 PM, Tom Lane wrote: >> After some experimentation, I came up with the attached, which simply >> skips the "recursive" step if it would apply to the same array type we >> already moved. > This looks good to me. Pushed, thanks for reviewing. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers