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 1g3XYB-00085m-Vy for pgsql-general@arkaria.postgresql.org; Sat, 22 Sep 2018 02:21:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g3XYA-0008Ut-Bc for pgsql-general@arkaria.postgresql.org; Sat, 22 Sep 2018 02:21:38 +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.89) (envelope-from ) id 1g3XY9-0008Ui-Tm for pgsql-general@lists.postgresql.org; Sat, 22 Sep 2018 02:21:38 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g3XY7-0003SJ-9x for pgsql-general@postgresql.org; Sat, 22 Sep 2018 02:21:36 +0000 Received: by mail-io1-xd2b.google.com with SMTP id l14-v6so13828140iob.7 for ; Fri, 21 Sep 2018 19:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uHnPLwAtfsCAAadbQ6+ZS3cFXL3E7tVstL8rsOxX7Rg=; b=OIWqCri2NDkTj5o3JAssC3HtjqMOcrBZrYT4PCNlz0fSY1KmFt41CCNGGtRmexEM/9 VUbqTjA+BH+gmnLbhSEj6dWUgluyCXoS0tzcPkbqPK1VLCnUZmPUVmMzQPp9WN+uf9VN VFNs3Vclrcr49vKesl8CI1pnZNJRIP3qJ8J3adYsLcy70ydcMpLXAjoCPyb1kOOIcF/3 3BCtJQjNxvXJsMQ/eoqY1WHSVWeC89+eiLvTobZq5i1WNOT98+0JqCADk1srtguTcpv0 R84qJMdpRm067ZAD6MqJLpVHknAm/CjTjSvxGDOgy37BIMAkrkuC0Lxuzx8vGhqtc6yB FeeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uHnPLwAtfsCAAadbQ6+ZS3cFXL3E7tVstL8rsOxX7Rg=; b=EjVeDsl4NRUy2yAGMTcEF0E80Z8zeXdDebCN07yjoelN5/dJ2dxe0MWnGLh52mMR2k es41a9SujGbfM54As5m3HrWtbZgk7sks5THR3mOwF/p+oax4jQbCMbe/vuLbHPvJq17g vPKaquZRbm4hQ6OxRxDTdeddG684rY9A3OZikFhdtFF2FdKYY/q9zWL2ZOi2Tiufcho6 JQiSDZ01m7Ph07HlqOdYG7hHqUUDvmlNGi3CSobwtIv0i5d3MGnqHFwAhI4So28mfJw1 bl03wgBoB+oyQwUIRCcWCw4AaRcxoqoazPBLwMejv0KmF8LPZToRdmZdysxqth6WfAiN j0tw== X-Gm-Message-State: ABuFfohdUyPmin7VZobHF95yVgzE1bSgBmddAg/xScYfW/V7k/9V5jwO BTxGDPLvbQWJbRzHk08gKTrMTkfg X-Google-Smtp-Source: ACcGV61zKxwJhP6dyotifisqVralB3BAzhb5LI84mZrTaslixM7DaO6YPpm3CPrdC9TADVuakn2now== X-Received: by 2002:a6b:5505:: with SMTP id j5-v6mr363846iob.106.1537582893716; Fri, 21 Sep 2018 19:21:33 -0700 (PDT) Received: from ?IPv6:2601:681:5500:1e3c:d3e:15e6:f0f9:6edd? ([2601:681:5500:1e3c:d3e:15e6:f0f9:6edd]) by smtp.gmail.com with ESMTPSA id a64-v6sm2822625itg.40.2018.09.21.19.21.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 19:21:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: heads up on large text fields. From: Rob Sargent X-Mailer: iPhone Mail (15G77) In-Reply-To: <20180922015926.didatlrjtvolyv3c@alap3.anarazel.de> Date: Fri, 21 Sep 2018 20:21:32 -0600 Cc: "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <80165609-9B46-484B-A690-EB50A2A5B774@gmail.com> References: <20180922015926.didatlrjtvolyv3c@alap3.anarazel.de> To: Andres Freund List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Sep 21, 2018, at 7:59 PM, Andres Freund wrote: >=20 >> On 2018-09-21 18:28:37 -0600, Rob Sargent wrote: >> "/tmp/regen.file" gets very large, very fast and I have to >> pg_terminate_backend. Tried this three times, once using "\o test.blob" >> instead. >>=20 >> h009357:loader$ ls -ltr >> total 2048 >> -rwxr-xr-x 1 u0138544 camplab 10002460672 Sep 21 15:49 test.blob >=20 > I suspect the layouting of such wide columns problably creates a lot of > pain. I'd try \copy and doing the query after \a. >=20 > Greetings, >=20 > Andres Freund The formatting could be an issue for sure: there are a couple of very long l= ines early and late in the file. But my real concern is the unending output s= tream. If I haven=E2=80=99t made some obvious mistake, psql redirect of larg= e text values may have an issue.=