Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exx9V-0005oZ-Br for pgsql-committers@arkaria.postgresql.org; Mon, 19 Mar 2018 15:56:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exx9U-00070i-9M for pgsql-committers@arkaria.postgresql.org; Mon, 19 Mar 2018 15:56: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_SHA384:256) (Exim 4.89) (envelope-from ) id 1exx8D-0003ci-3C for pgsql-committers@lists.postgresql.org; Mon, 19 Mar 2018 15:55:29 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exx84-00016j-EI for pgsql-committers@lists.postgresql.org; Mon, 19 Mar 2018 15:55:27 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1exx7v-0000bH-UQ for pgsql-committers@lists.postgresql.org; Mon, 19 Mar 2018 15:55:12 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1exx7u-0002XF-7H for pgsql-committers@lists.postgresql.org; Mon, 19 Mar 2018 15:55:10 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Robert Haas Subject: pgsql: Rewrite recurse_union_children to iterate, rather than recurse. Message-Id: Date: Mon, 19 Mar 2018 15:55:10 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk UmV3cml0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