Re: heads up on large text fields.

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: heads up on large text fields.
Date: 2018-09-22 02:21:32
Message-ID: 80165609-9B46-484B-A690-EB50A2A5B774@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Sep 21, 2018, at 7:59 PM, Andres Freund <andres(at)anarazel(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Williams 2018-09-22 10:06:51 RE: PostgreSQl, PHP and IIS
Previous Message Adrian Klaver 2018-09-22 02:13:15 Re: New behavior with JDBC 42.2.5