Re: slow pg_dump with bytea - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: slow pg_dump with bytea
Date
Msg-id 202310201318.ukcklynpe5bq@alvherre.pgsql
Whole thread Raw
In response to slow pg_dump with bytea  (Janning Vygen <vygen@kicktipp.de>)
List pgsql-bugs
On 2023-Oct-20, Janning Vygen wrote:

> So maybe you can fix it by changing the pg_dump process to not compress any
> bytea data.

The problem with this idea is that the compression applies to the whole
data stream.  The backup format doesn't allow to compress some columns
and not others.  Doing that would require a lot of changes to pg_dump.

Maybe a workable idea would be to allow excluding individual tables from
being compressed.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"El hombre nunca sabe de lo que es capaz hasta que lo intenta" (C. Dickens)



pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: slow pg_dump with bytea
Next
From: Tom Lane
Date:
Subject: Re: group by true now errors with non-integer constant in GROUP BY