Re: Async Commit, v21 (now: v22)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Async Commit, v21 (now: v22)
Дата
Msg-id 469E3567.8050904@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Async Commit, v21 (now: v22)  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Async Commit, v21 (now: v22)
Список pgsql-patches
Simon Riggs wrote:
> Here's the latest version. I've reviewed this to check that this does
> what I want it to do, re-written various comments and changed a few
> minor points in the code.
>
> I've also added a chunk to transam/README that describes the workings of
> the patch from a high level.
>
> Now ready for final review.

Just a couple of quick comments:

Having to call XLogBackgroundFlush(2) to flush the WAL up to the latest
async commit is a weird interface. How about passing a "bool force"
argument instead? Or adding another function "XLogFlushCommits".

walwriter.h is missing the

#ifndef XXXX_H
#define XXXX_H

boilerplate.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: execl() sentinel
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Async Commit, v21 (now: v22)