Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2iBX-0008WR-F0 for pgsql-docs@arkaria.postgresql.org; Mon, 03 Aug 2020 21:39:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k2iBW-0006ms-4E for pgsql-docs@arkaria.postgresql.org; Mon, 03 Aug 2020 21:39:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2iBV-0006ml-Uw for pgsql-docs@lists.postgresql.org; Mon, 03 Aug 2020 21:39:53 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k2iBT-0007ec-5z for pgsql-docs@postgresql.org; Mon, 03 Aug 2020 21:39:53 +0000 Received: by mail-qk1-x742.google.com with SMTP id 77so4313908qkm.5 for ; Mon, 03 Aug 2020 14:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=bcwYCAUH8fj2F4QnpPPtmeycxtbwug+oB1DCHsN5Cwk=; b=hALGS/nTJT2WtywTReZxx6dxbAhnJxAYYcnFrEcsUdkPpQD8b+TPKTzlioJLOLkQb6 tSlMnyymC/Vj7q+PIn4klx4hklAG+8cXquKkTJ+Y/R+gnTTVyc1t/UJtPkdCSQV6Chc4 MAZUDrpxoHzTrSYoxEHwiD3VdQJgWrEnBaDAhT4KWkFupUXhkE+nikcAlRrKdfvnbvb2 +lRpyNSvMMZLrRzYm+Q3iRo5bkbJlaOEvrW/KrIZBtFbqpnh5fQr90OCPZfn/+17KZpm MNkeRhuLP2De5zLD/BPrjHvKE5CFnEQGWKV82WGorG1obrYzOsHge8wLdbofEOVlYgY6 Jhzw== 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:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=bcwYCAUH8fj2F4QnpPPtmeycxtbwug+oB1DCHsN5Cwk=; b=Acg0HPXq6hOzYVyU+2Xt4q7SSQQRXah1T9FEM7v1/toJCtlDHIrDbh8WTA69PlDsHq tm9dk4vrq4pkypgKEtkQ9KYW/ClzY6YXZtA09z5sG/FPhCc9Ier4JVPUKk0pwKcUcPl2 R5zyVsN8DRnrdf7TDLqC8OwM/445U5d/l0yYkDt/pz/8OYXJMamflgIYaR568KHSK41H /o2n1MbQcsS5x+6qugOGz3DHwROV7kk+tQC5Ekrkr3a0YLtDu+3CrJdjfsRr+mPNnirX nZgXYahOFo512P1yVNrCT/k7Swdbfr05DoGhS8/ufzL8NGs5UiiLhAibv2FpTPC6RmFu jS4w== X-Gm-Message-State: AOAM532NZ83m6HciEEENovPCZ05FSvaGRtFenSpUteo2Nri7HUINK69X lA+t5TuKvL4jZfVC0u4hyLL9tg== X-Google-Smtp-Source: ABdhPJwucsMK+zLABuAMDNIdxToeAmDXYmC0pIRJjJ1ASlaY/kCDTJRJMSrShnoZIqtgoNasdi3HdQ== X-Received: by 2002:ae9:f504:: with SMTP id o4mr18707685qkg.40.1596490789614; Mon, 03 Aug 2020 14:39:49 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id x12sm25343487qta.67.2020.08.03.14.39.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 14:39:49 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9386C2A03A0; Mon, 3 Aug 2020 17:39:47 -0400 (-04) Date: Mon, 3 Aug 2020 17:39:47 -0400 From: Alvaro Herrera To: Bruce Momjian Cc: "Andrey M. Borodin" , Anna Akenteva , pgsql-docs@postgresql.org Subject: Re: [DOCS] Let's document a bytea bug Message-ID: <20200803213947.GA1118@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200803202042.GC17519@momjian.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Aug-03, Bruce Momjian wrote: > So, the character and octet length is 600 million, but on output, that > will be expanded, and both SELECT and pg_dump fail. I also can't see > how to improve the error message since it happens so low in the stack. I think you'll find commits fa2fa9955280 and b66adb7b0c83 amusing. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services