Skip site navigation (1) Skip section navigation (2)

Re: enable logging of start time/cookie for all backendprocesses

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 backendprocesses
Date: 2007-08-01 18:09:50
Message-ID: 20070801180950.GJ10324@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-patches
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).
>>   
>
> Well, it's set right at the front of SubPostmasterMain, immediately after 
> setting MyProcPid. Is that enough to catch every path?

Only in the EXEC_BACKEND case, right?  It's not used at all in the other
case.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-patches by date

Next:From: Andrew DunstanDate: 2007-08-01 18:44:46
Subject: Re: enable logging of start time/cookie for all backend processes
Previous:From: Andrew DunstanDate: 2007-08-01 17:40:48
Subject: Re: enable logging of start time/cookie for all backend processes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group