Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vnBXl-003PeV-24 for pgsql-admin@arkaria.postgresql.org; Tue, 03 Feb 2026 08:13:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vnBXk-003vEd-2L for pgsql-admin@arkaria.postgresql.org; Tue, 03 Feb 2026 08:13:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vnBXk-003vEU-1A for pgsql-admin@lists.postgresql.org; Tue, 03 Feb 2026 08:13:52 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vnBXh-00000000nzi-48HC for pgsql-admin@lists.postgresql.org; Tue, 03 Feb 2026 08:13:51 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-662fe3ff6f6so3054158eaf.0 for ; Tue, 03 Feb 2026 00:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770106428; cv=none; d=google.com; s=arc-20240605; b=I4eEzEKSFPIEwAcnWcjcoVYTvpLtcWNza6QGftzMnyWXTTld45DHJG55FKrptemise SC7WucX6L+cj7SdNapNB5YhnAXXO2Dx/2P/bhFOnX2vW7SxsV2NGMpSaZuzPRzHjzfFa 01GQ9Wi4wf2UBikvNsguQ+Qz+TmWLXHUgbMUaxL27TxEpLPW1J56kCXlpgr7bT5ROztH GPxZXSoJWS/TIRURecEWGJTZ4/Bwn+OvKC7L7S3EXrs40Pdq/i5dHqXx1V7A1KX1aO0h ZqQOeGJHllki6J9/h7I+nNsUpBCxVX76rIkFw3MPjMGzDRXodR3Rn2o05k51AX/OUk1P MIsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=N/HgCdbsrl2aBzKNEWgNUBXll+MgWMXuQ3ww0qSTMP0=; fh=druxZHa2fk4e6MLibibygn9AWWgeaAPo4m8Gpo2MBXU=; b=RGXyIxdJZb8wgA67vlGR1swRR9E21veZejFvxI/3C8VSK1cK0IE3ZQXMJdLEtqspcj 981KA5+yjEBnuMQSh9J9nm7qctneQeblKR+sYXl1Sa8/dZKZfJcMOOnHE4L/VMO5mGvB F073uWVeDKqi32n48QDnLmWA9g91p9losMCyPFHu/nPMx8OKObfvUZCjZysYJZH7wFNI OO8e9phpVt1iWNGZt1dKSg7p2hOOBoBYDy2Hw0HRz/G6++JG97zaiDCFcqeDxnewlW4J ztxO9dD2uo5sJ5nLuah/qFsCXo5gOVq4KnBNUcpOxdHU8OH7KjpEz/Tag5T34slR+NBz k5uA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770106428; x=1770711228; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=N/HgCdbsrl2aBzKNEWgNUBXll+MgWMXuQ3ww0qSTMP0=; b=fNUa3jY6v4bkKcu9SPWs/78XcTZWl8Du/TwzsiSn8NLMPV+LUCrFnQiP22CIqBgHec lKgSWS1Ow76GSNCEX7IUuHfFHGe4A1jyFFDhCcCc2IrBSMZj9Z8CRajVqCWbKU7Z9Ndo RRupYBBuK1k7pRI5jpO4MfxBK979whtMCD6djWFRnlOA1imqiZeRqBfuIt48lMYEQ5ab t6mCj0icalsRziWtEaP378TY2nJnemTNzlImvodjTr8bJg05knLkWT9ysS6xG4aHaoa+ XMPFURgJSuiNBdoJISM0BzcQ98l3Y1dWKHbGIx2v3H7t3uTaPH98aVqlG8F1RIJLZ9H/ 9g0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770106428; x=1770711228; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N/HgCdbsrl2aBzKNEWgNUBXll+MgWMXuQ3ww0qSTMP0=; b=nAPzcCbgLNNpkigp7moGrJnjUUIapi7wmNPZQzJhfpCBu9LT0PzGTRmz1sjiQhM7rQ FvjSUBGHSIyu1HMmemgdclW3fx3XFTZMppTvtesLG6uKiHaA9r5DhB/5Fv1nA4hEM5+V hyU3uWA9xf/zJUKrjjPO2C7ekwR2L1Jn+OSYuPFt8VU9dLa7icF0nzkMXF+hE2qTI2g7 RyGNRCcE3TSdMj74CS0zIPSdtBwuHZbSD6T2mwEXzZ4yLDfpayeTi+qdAxZlan7D8m8n 8g5/v1k3jgGtYColVkXUzevsIFbeDnfUKtCJ1ag+tduliDdMlosgTr4S64iLIn/kSCyD DZIg== X-Gm-Message-State: AOJu0YyZgAWQCwFHheSRxb+kQpVt5gH1IfO7g6iu+mdT6EyFFLZW8OmT anxdMXelx7GZ5J9FHE/hv2vRKGZCntX0Y1lAXYR3Z00imiUMRD/tUaDHoiogiuB5Is7YQ8R8xM0 s4/ppqSznmwAbva2w3J/fY2U5xa9Vowt/bA== X-Gm-Gg: AZuq6aL4W+S7vmRWvsm6Eorhzjjk/9EaXU4nqGa7OKT6k4gCU2jcLBDla07ulaHdSHV V3PISEZrV8222tK5AafncajS3WwBRgakcdWRr84V3JzQSlTibs4iXRu0BdqwR+67BbJg/sGUvvq vK+0UvhsLuEGVPYt5ca7c5NZyd1uQs+sW5gjl2k61W3hJnvkLg6QWKoFBdodxUcvV+ncyrmgDnW yn25icpwIe3An6k1xLy2kGlmtXVyXWieM80rVuy6bOrz+hNMFVM6IWgFURyjQuwOZ90sVhNwEcH PgSG+ug= X-Received: by 2002:a05:6820:a0da:b0:663:17d7:1585 with SMTP id 006d021491bc7-66317d715b9mr3907685eaf.32.1770106428485; Tue, 03 Feb 2026 00:13:48 -0800 (PST) MIME-Version: 1.0 References: <6bff91db-843e-4858-95dd-cc8bfb90c012@jakobs.com> In-Reply-To: <6bff91db-843e-4858-95dd-cc8bfb90c012@jakobs.com> From: Ron Johnson Date: Tue, 3 Feb 2026 03:13:37 -0500 X-Gm-Features: AZwV_Qh7jTo3SyUlEBjEpNl6oO2q4dkr9PuM4IhwBD58s0N3PRhTxUElssX5y_w Message-ID: Subject: Re: Does pg_dump custom format only compress the table data? To: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000e274290649e704ee" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000e274290649e704ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 3, 2026 at 2:51=E2=80=AFAM Holger Jakobs wr= ote: > Am 03.02.26 um 07:06 schrieb Laurenz Albe: > > On Mon, 2026-02-02 at 10:55 -0500, Ron Johnson wrote: > >> Out of curiosity, I opened that dump file in vim, and saw not only DDL > strings but cleartext table data. > >> > >> Why isn't it compressed? > > Are your DDL statement large enough that you would expect that > compressing > > them would offer any real advantage? > > > > Yours, > > Laurenz Albe > > That wasn't the question. It was about why table DATA aren't compressed, > but in clear text. > Exactly. Does the compression algorithm have some sort of threshold under which it ignores the --compress switch? --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000e274290649e704ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 3, 2026 at 2:51=E2=80=AFAM Ho= lger Jakobs <holger@jakobs.com&= gt; wrote:
Am 03.02.26 um 07:06 schrieb Lauren= z Albe:
> On Mon, 2026-02-02 at 10:55 -0500, Ron Johnson wrote:
>> Out of curiosity, I opened that dump file in vim, and saw not only= DDL strings but cleartext table data.
>>
>> Why isn't it compressed?
> Are your DDL statement large enough that you would expect that compres= sing
> them would offer any real advantage?
>
> Yours,
> Laurenz Albe

That wasn't the question. It was about why table DATA aren't compre= ssed,
but in clear text.
=C2=A0
Exactly.=C2= =A0 Does the compression algorithm have some sort of threshold under which = it ignores the --compress switch?

--
=
Death to <Redacted>, and butter sauce.
Don't= boil me, I'm still alive.
<Redacted> lobster!
=
--000000000000e274290649e704ee--