Re: Streaming I/O, vectored I/O (WIP)

Поиск
Список
Период
Сортировка
От Melanie Plageman
Тема Re: Streaming I/O, vectored I/O (WIP)
Дата
Msg-id CAAKRu_asqOzF4ApPzkWXgCZBNvTdU6RoebfTF5KdfoVWdgbj5g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming I/O, vectored I/O (WIP)  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Список pgsql-hackers
On Sun, Apr 7, 2024 at 1:33 PM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
>
> Hi,
>
> On Tue, 2 Apr 2024 at 11:40, Thomas Munro <thomas.munro@gmail.com> wrote:
> >
> > I had been planning to commit v14 this morning but got cold feet with
> > the BMR-based interface.  Heikki didn't like it much, and in the end,
> > neither did I.  I have now removed it, and it seems much better.  No
> > other significant changes, just parameter types and inlining details.
> > For example:
> >
> >  * read_stream_begin_relation() now takes a Relation, likes its name says
> >  * StartReadBuffers()'s operation takes smgr and optional rel
> >  * ReadBuffer_common() takes smgr and optional rel
>
> Read stream objects can be created only using Relations now. There
> could be read stream users which do not have a Relation but
> SMgrRelations. So, I created another constructor for the read streams
> which use SMgrRelations instead of Relations. Related patch is
> attached.

This patch LGTM

- Melanie



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: pg_combinebackup --copy-file-range
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: MultiXact\SLRU buffers configuration