Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRVG9-0005M0-3p for pgsql-committers@arkaria.postgresql.org; Sun, 02 Jul 2017 03:09:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dRVG8-0005uM-1V for pgsql-committers@arkaria.postgresql.org; Sun, 02 Jul 2017 03:09:16 +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 1dRVG6-0005uA-IX for pgsql-committers@postgresql.org; Sun, 02 Jul 2017 03:09:14 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dRVFz-000593-22 for pgsql-committers@postgresql.org; Sun, 02 Jul 2017 03:09:13 +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.84_2) (envelope-from ) id 1dRVFy-0001DI-I8 for pgsql-committers@postgresql.org; Sun, 02 Jul 2017 03:09:06 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.84_2) (envelope-from ) id 1dRVFy-0000QY-6m for pgsql-committers@postgresql.org; Sun, 02 Jul 2017 03:09:06 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Peter Eisentraut Subject: pgsql: Refine memory allocation in ICU conversions Message-Id: Date: Sun, 02 Jul 2017 03:09:06 +0000 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org UmVma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