Re: Add test module for Custom WAL Resource Manager feature

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Add test module for Custom WAL Resource Manager feature
Дата
Msg-id 6efdc29d57914e7bbd05a878f8c1813a18a8559e.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Add test module for Custom WAL Resource Manager feature  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Add test module for Custom WAL Resource Manager feature  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, 2022-11-14 at 09:34 +0530, Bharath Rupireddy wrote:
> Thanks. I would like to keep it simple.
>
> I've added some more comments and attached v2 patch herewith. Please
> review.

Committed with some significant revisions (ae168c794f):

  * changed to insert a deterministic message, rather than a random
one, which allows more complete testing
  * fixed a couple bugs
  * used a static initializer for the RmgrData rather than memset,
which shows a better example

I also separately committed a patch to mark the argument of
RegisterCustomRmgr as "const".


--
Jeff Davis
PostgreSQL Contributor Team - AWS





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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: allowing for control over SET ROLE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow standby snapshot