From: Rob Sargent <robjsargent@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: heads up on large text fields.
Date: Fri, 21 Sep 2018 20:21:32 -0600
Message-ID: <80165609-9B46-484B-A690-EB50A2A5B774@gmail.com> (raw)
In-Reply-To: <20180922015926.didatlrjtvolyv3c@alap3.anarazel.de>
References: <b92e20ab-549d-bcb3-affe-df7f721f832a@gmail.com>
<20180922015926.didatlrjtvolyv3c@alap3.anarazel.de>
> On Sep 21, 2018, at 7:59 PM, Andres Freund <andres@anarazel.de> wrote:
>
>> 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.
>>
>> h009357:loader$ ls -ltr
>> total 2048
>> -rwxr-xr-x 1 u0138544 camplab 10002460672 Sep 21 15:49 test.blob
>
> I suspect the layouting of such wide columns problably creates a lot of
> pain. I'd try \copy and doing the query after \a.
>
> Greetings,
>
> Andres Freund
The formatting could be an issue for sure: there are a couple of very long lines early and late in the file. But my real concern is the unending output stream. If I haven’t made some obvious mistake, psql redirect of large text values may have an issue.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, andres@anarazel.de
Subject: Re: heads up on large text fields.
In-Reply-To: <80165609-9B46-484B-A690-EB50A2A5B774@gmail.com>
References: <b92e20ab-549d-bcb3-affe-df7f721f832a@gmail.com> <20180922015926.didatlrjtvolyv3c@alap3.anarazel.de> <80165609-9B46-484B-A690-EB50A2A5B774@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox