Re: [HACKERS] max_worker_processes on the standby

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, oonishitk(at)nttdata(dot)co(dot)jp, pgsql-docs <pgsql-docs(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] max_worker_processes on the standby
Date: 2015-10-20 13:12:24
Message-ID: CA+TgmoYNUAt-7fJboXGOVcXmS_OeddhL+r5Tq3qDebdhJHR8mA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Sat, Oct 17, 2015 at 5:37 PM, Petr Jelinek <petr(at)2ndquadrant(dot)com> wrote:
> I agree with that sentiment.
>
> Attached patch adds variable to the shmem which is used for module
> activation tracking - set to true in ActiveCommitTs() and false in
> DeactivateCommitTs(). All the checks inside the commit_ts code were changed
> to use this new variable. I also removed the static variable Alvaro added in
> previous commit because it's not needed anymore.

That sounds good to me. On a quick read-through it looks OK too.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2015-10-20 19:05:22 Re: [HACKERS] max_worker_processes on the standby
Previous Message Kisung Kim 2015-10-19 15:24:00 Re: Request for writing a preface the Korean PostgreSQL documentation book

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-10-20 13:41:49 Re: More work on SortSupport for text - strcoll() and strxfrm() caching
Previous Message Etsuro Fujita 2015-10-20 11:45:39 Typos in plannodes.h