Re: [HACKERS] [bug-fix] Cannot select big bytea values (~600MB) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] [bug-fix] Cannot select big bytea values (~600MB)
Date
Msg-id 20180216162408.te4gbzfhycjbnsp4@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] [bug-fix] Cannot select big bytea values (~600MB)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] [bug-fix] Cannot select big bytea values (~600MB)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2018-02-16 09:58:29 -0500, Tom Lane wrote:
> Anna Akenteva <a.akenteva@postgrespro.ru> writes:
> > [ widen StringInfoData max length to size_t ]
> 
> I find this scary as heck.  Have you spent any time looking at the
> side effects?  There are probably hundreds of places that expect that
> stringinfos won't get larger than 1GB.

FWIW, I think we're going to have to bite that bullet sooner rather than
later. I do agree it's not going to fix this issue for real, and that
we're not going to backpatch it.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: After an error - pg_replication_slot is dropped
Next
From: Tom Lane
Date:
Subject: Re: master check fails on Windows Server 2008