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.89) (envelope-from ) id 1hyh4J-0005Ag-5W for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Aug 2019 18:35:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hyh4H-0004Qd-UH for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Aug 2019 18:35:17 +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 1hyh4H-0004Kt-Je for pgsql-hackers@lists.postgresql.org; Fri, 16 Aug 2019 18:35:17 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hyh4E-0004jY-4y for pgsql-hackers@lists.postgresql.org; Fri, 16 Aug 2019 18:35:16 +0000 Received: by mail-qt1-x844.google.com with SMTP id 44so7093774qtg.11 for ; Fri, 16 Aug 2019 11:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=S2k4blh0wxXVQsqVwlGkBSUZClFaIaG5WfusKmR90pQ=; b=bOnPl1AZsfG+SwGz2R9Iul3kaL/qJcfX+sOqaYhJf1oiUFLuvrhn0puD/ggMOV25vz aT/nL9VAsY8EcgLuyLoUPSn0NvKO3Fn6CeQOUIVeGxiKO0dgc9yteoawL5ghEQ0YU7Fj XwXMvnKwn2oBvS1vULGx8eiK287RbNPssk/IhsK4976n4KA+2QjGteDQBONVWmIxF5yv 9w7ahlkkSfbilIbeqKbxRP7Pyeht1ZlVKyYrhKLDeASi6AnTeN9uGHDcTq2JCAiC0aEP x/7pRsTFsqTZlhZHBnApikCzxdq1UuaAhJChN9SnWL9ZjTiPUoxCGg4nQbCzhCbL+5Xq hspw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=S2k4blh0wxXVQsqVwlGkBSUZClFaIaG5WfusKmR90pQ=; b=TycL7vECxloXHIGGT1g5Qdcg+rPxYPVIYmZUCz4dwtIlgaIQ6lehmkRceF/LOxafJ2 yq+qZ4Kvc3cYDWIoxOM33iRykIdmzlQ1C5afr2ayf9eYkaHu9hlPY5DhJmJUx2k1MB1C R16AjJiPDrPfteFLituOH2qDUimBwJX09v/gNzvufkw/ruGgx5JV373hShwEjCb3BKvn qAVhXzMCzBY97bbANvmUpYsWUdC4h6CcoeirsEq1R2MHUtJ8PTy3FRV94ILcQMfWYbvD wy7w/IvbLjKTdQNrn9v7RZWskYcJaaLegaRPCRkwIEhUzTTKsxLSnYrwYbS/VPEiAogF tXQQ== X-Gm-Message-State: APjAAAXa+jqixRl6ud1I65dBWcSEak0oCMbHAyTm4tzrSKvI0ywPP/on vCntmj8xv8oSHc6iP1dEAeyeqLs2M2gIy0JuGGDZYsTqScBj4fD7o7pmFu5aU83/UsDjc8B7+m0 g6ru8Su7+4U28BhnLbZl0TDzA2uzlmXg+pJq9VxqUeeWSW0c0nbA7NGF/ic6MZbdT2GK/cWepcD rZ3GWleARWxafBXg== X-Google-Smtp-Source: APXvYqzOJmjSVKOdfPEtbRHkdS8EYks2zHwMjs2Aq5cfrfxBsxJ7hugpEFMGfGE4pbBWf56Lsxv1pQ== X-Received: by 2002:ac8:540d:: with SMTP id b13mr9865153qtq.288.1565980511923; Fri, 16 Aug 2019 11:35:11 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.49.205]) by smtp.gmail.com with ESMTPSA id q32sm2987723qtd.79.2019.08.16.11.35.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 11:35:11 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 76BAC12159C; Fri, 16 Aug 2019 14:35:09 -0400 (-04) Date: Fri, 16 Aug 2019 14:35:09 -0400 From: Alvaro Herrera To: pgsql-hackers@lists.postgresql.org Subject: Re: allocation limit for encoding conversion Message-ID: <20190816183509.GA1759@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190816181418.GA898@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Aug-16, Alvaro Herrera wrote: > Somebody ran into issues when generating large XML output (upwards of > 256 MB) and then sending via a connection with a different > client_encoding. ref: https://postgr.es/m/43a889a1-45fb-1d60-31ae-21e607307492@gmail.com (pgsql-es-ayuda) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services