Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g4C1h-00010Y-3y for pgsql-general@arkaria.postgresql.org; Sun, 23 Sep 2018 21:34: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 1g4C1f-0003MR-Mi for pgsql-general@arkaria.postgresql.org; Sun, 23 Sep 2018 21:34:47 +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 1g4C1f-0003MK-CJ for pgsql-general@lists.postgresql.org; Sun, 23 Sep 2018 21:34:47 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g4C1d-0003kA-4A for pgsql-general@lists.postgresql.org; Sun, 23 Sep 2018 21:34:46 +0000 Received: by mail-pf1-x432.google.com with SMTP id x17-v6so8187101pfh.5 for ; Sun, 23 Sep 2018 14:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=FjJQzC0+fmJoqXJhI50f3PdiOZSF+ZuFwKuFuRRIEds=; b=uuNh7owd5WlvXs3mcjM+LnwOTdRDJjI1EBEXv+H4H/TsECmB+T6dABD0cWd9N4Wzex 72Nc72oXH+P5OGPOW8Sfh8axpHxdknRQDEFYO3pau///aHJrx8Vppg/PExlfEk9L8BPD NysIkneqxK4UD5iq2iC3pS044zNALdNS65g39YsDMeC5DgFiCI3hxbpgsd2h8CRKMMHa p82u+HbBhYeiz8huPZfC/85fE+PGxU4XSxxyAlLFwjW5hSR6GxP9xgNIYw9HOb3XpfJh wsdEZ0MVoS9u9iAIo9mZNoQ0y3DVkYtUZ7/tkk0492s7dX9QjHwhTrJJBrv3S69XHNYz +E+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=FjJQzC0+fmJoqXJhI50f3PdiOZSF+ZuFwKuFuRRIEds=; b=sfZ836NcV+31UvM4yVyDcVLEzR41ZCGJK0ydhw4uHU1xtNehdN21Quz/s7TSTJySgH +ncsGbj1v95QUoK/ImTNKwwUDIoUPknGJ59uGPfir2AokjDAHceu0WRJl5dJ88Uh8uIt ISRWHaF/+uX7cRCgqM/hZBVOvzB9STvWG5ubBjW9mOMZPL//yV22w5BG6LZuTw8rXkuG XpcMjE6DCT5pkPa/cMmZaRGmJYJszwA5qDWdQCSfymzQvgm+3a6xCgyxThjk7bsdDYUy ymh7Hs+YL/ufqRud9n0XAQeF5YCz/IrvAKOIcySqv6Mruh0oF4eWc4j/T45o8mC5Sw9L HH4Q== X-Gm-Message-State: ABuFfogNb8MiKYKssKpiojDy+DGoQ0ndbNbX6opq9F0EzjtEpMYLqdg3 kafNucTBwpjVYvwzn/TkLURIdXMo X-Google-Smtp-Source: ACcGV63R504FS5U/BB0RhKGzsGxxNRFNlVCF2LvhYLAPjmyEzM5ygqMHXiWuAhTT2C7gOXLuAm+yOg== X-Received: by 2002:a63:214f:: with SMTP id s15-v6mr2990945pgm.202.1537738481990; Sun, 23 Sep 2018 14:34:41 -0700 (PDT) Received: from [10.104.134.14] ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id y86-v6sm47365640pfk.84.2018.09.23.14.34.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Sep 2018 14:34:41 -0700 (PDT) Subject: Re: heads up on large text fields. To: pgsql-general@lists.postgresql.org References: <8167c010-d804-147c-2a60-92eefd7cbea1@a-kretschmer.de> From: Rob Sargent Message-ID: Date: Sun, 23 Sep 2018 15:34:40 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <8167c010-d804-147c-2a60-92eefd7cbea1@a-kretschmer.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/22/2018 06:00 AM, Andreas Kretschmer wrote: > > > Am 22.09.2018 um 02:28 schrieb Rob Sargent: >> However, I get into deep dodo when I try redirecting psql output such as >> >>     select ld from gt.ld\g /tmp/regen.file >> > > works for me if i start psql with -t -A -o /path/to/file > (pg 10.5, but psql from 11beta3) > > > Regards, Andreas > OK, I'm a little slow on the uptake.  The few very wide lines (728035 characters) demand that all the other lines be padded and with 132236 lines you end up with a 96G file (with out the smarts provided about).