Re: change default default_toast_compression to lz4?

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: change default default_toast_compression to lz4?
Дата
Msg-id 202511221308.a23s6ktuvktq@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: change default default_toast_compression to lz4?  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On 2025-Nov-21, Daniel Gustafsson wrote:

> > On 21 Nov 2025, at 12:33, Aleksander Alekseev <aleksander@tigerdata.com> wrote:
> 
> > Are there good reasons why we can't simply make lz4 a required
> > dependency? In the worst case we could simply copy its implementation,
> > the license permits.
> 
> I think we should, as much as we can, avoid vendoring code, especially
> something like lz4 which can be expected to be available nearly everywhere.

Yeah.  There's the security aspect: if lz4 is found to have a security
bug, we would be obliged to issue an advisory and matching release.
It's best if the library code is kept separate, so their own security
advisory is enough.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



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