Re: libpq compression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq compression
Дата
Msg-id 654473.1608669987@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpq compression  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: libpq compression  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: libpq compression
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCH] Automatic HASH and LIST partition creation