Re: Teach pg_receivewal to use lz4 compression

Поиск
Список
Период
Сортировка
От gkokolatos@pm.me
Тема Re: Teach pg_receivewal to use lz4 compression
Дата
Msg-id LLkX3RHsODZzyAJI033ZsLqPxDKHYhQANy6hweFCN_YEO5lndNYL5idWqGDYzyU6g5OA0BNdZO2n_nE99w5wQLvWRWFTuzINBjjvT7v11Wg=@pm.me
обсуждение исходный текст
Ответ на Re: Teach pg_receivewal to use lz4 compression  (Jian Guo <gjian@vmware.com>)
Список pgsql-hackers
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Saturday, September 11th, 2021 at 07:02, Jian Guo <gjian@vmware.com> wrote:

Hi,

thank you for looking at the patch.

> -             LZ4F_decompressionContext_t ctx = NULL;
> -             snprintf(fullpath, sizeof(fullpath), "%s/%s", basedir, dirent->d_name);
> -             fd = open(fullpath, O_RDONLY | PG_BINARY, 0);
>
> Should close the fd before exit or abort.

You are correct. Please find version 4 attached.

Cheers,
//Georgios
Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: corruption of WAL page header is never reported
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: drop tablespace failed when location contains .. on win32