Re: enable logging of start time/cookie for all backend processes

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: enable logging of start time/cookie for all backend processes
Date: 2007-08-01 18:57:33
Message-ID: 20070801185733.GC12460@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Andrew Dunstan wrote:

> Alvaro Herrera wrote:
>> Andrew Dunstan wrote:
>>
>>> Alvaro Herrera wrote:
>>>
>>>> I am also wondering if setting it in InitAuxiliaryProcess is redundant
>>>> (or rather, whether the extra set in each auxiliary process is redundant
>>>> with the call in InitAuxiliaryProcess).

> My original thought was that it needed to be set anywhere MyProcPid was
> set. That still seems to make sense, it just looks like I missed a few
> places, which I should fix.

+1 because of cleanliness, even if some calls turn out to be redundant.
That was in fact what I initially thought you were doing.

--
Alvaro Herrera http://www.PlanetPostgreSQL.org/
"Porque francamente, si para saber manejarse a uno mismo hubiera que
rendir examen... ¿Quién es el machito que tendría carnet?" (Mafalda)

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2007-08-01 20:09:06 Re: HOT patch - version 11
Previous Message Andrew Dunstan 2007-08-01 18:44:46 Re: enable logging of start time/cookie for all backend processes