pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: Daniil Zakhlystov <usernamedt@yandex-team.ru>
Cc: Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Cc: Denis Smirnov <sd@arenadata.io>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: libpq compression
Date: Tue, 22 Dec 2020 15:46:27 -0500
Message-ID: <654473.1608669987@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmobaHKCWzBZK0iD1EUUjpfpy6g_e=h6-xz48ihxeccudaQ@mail.gmail.com>
References: <aad16e41-b3f9-e89d-fa57-fb4c694bec25@postgrespro.ru>
	<612f227d-cb27-9238-5922-1500f8b2eb96@postgrespro.ru>
	<160623927937.7563.15974279758478581796.pgcf@coridan.postgresql.org>
	<CA+TgmoY5AMq8auemc0g3geCpVDeRnawW1A-jUeqT-5cE-_2MiA@mail.gmail.com>
	<6811D196-E2FB-40CC-B1C9-F19427FBF675@yandex-team.ru>
	<CA+TgmoZMTLydjP3iWBir20OrSXTugxS2CXC1WP1nWM5=Zqz0Nw@mail.gmail.com>
	<A1D0D9A4-1FC4-4311-83C7-EEA90749EE07@yandex-team.ru>
	<CA+TgmoZrM9T_W9YR-vLYZXj-vC_+F-DER65A87+pDXRwUFjJXg@mail.gmail.com>
	<D5354E7A-3B9F-4D32-B3AB-F65058D36500@yandex-team.ru>
	<CCAB1F57-A71D-4DEC-9A9C-F325B44BAC29@arenadata.io>
	<93027ee4-fefa-a8ca-2cc7-245c912bf824@postgrespro.ru>
	<62527092-16BD-479F-B503-FA527AF3B0C2@yandex-team.ru>
	<CA+TgmoZbVH4R5JA9_pyTSdnFTq-w2B1JvomeD+r0oo0xp1DPtQ@mail.gmail.com>
	<d889e3a2-d3f4-3f8e-aa81-c142e32ddf57@enterprisedb.com>
	<AA76CFB9-2641-4630-9E33-87BE7B89E13B@yandex-team.ru>
	<579f308e-c46c-2e79-3f90-9846450a3d71@enterprisedb.com>
	<626075.1608663785@sss.pgh.pa.us>
	<1! f76b4b8-3bff-17af-ef63-872190411a60@enterprisedb.com>
	<630701.1608665602@sss.pgh.pa.us>
	<CA+TgmobaHKCWzBZK0iD1EUUjpfpy6g_e=h6-xz48ihxeccudaQ@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Dec 22, 2020 at 2:33 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'd assume that there's a direct correlation between the compression level
>> setting and the window size; but I've not studied the libzstd docs in
>> enough detail to know what it is.

> But there is a privilege boundary between the sender and the receiver.
> What's alleged here is that the sender can do a thing which causes the
> receiver to burn through tons of memory. It doesn't help anything to
> say, well, the sender ought to use a window size of N or less. What if
> they don't?

The receiver rejects the data as though it were corrupt.

			regards, tom lane





view thread (289+ messages)  latest in thread

Message-ID: <654473.1608669987@sss.pgh.pa.us>
Permalink:  ../654473.1608669987@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/654473.1608669987@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, tomas.vondra@enterprisedb.com, x4mmm@yandex-team.ru, usernamedt@yandex-team.ru, k.knizhnik@postgrespro.ru, sd@arenadata.io, pgsql-hackers@lists.postgresql.org
  Subject: Re: libpq compression
  In-Reply-To: <654473.1608669987@sss.pgh.pa.us>

* 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