Re: serverlog rotation/functions - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: serverlog rotation/functions
Date
Msg-id 200407162256.i6GMuYd04754@candle.pha.pa.us
Whole thread Raw
In response to Re: serverlog rotation/functions  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> 
> > Right.  We already have to use shared mem for the backends and
> > postmaster.  It is the logger we are worried about.
> > 
> > Tom brought up the point that if the logger used shared memory, we would
> > have to kill/restart it if we need to reinitialize shared memory,
> 
> I don't know why that particular segment should ever be renewed. Anyway, 
> it's gone.

As I remember, we have one big shared memory segment.  Where you
creating a special one just for this timestamp?  If you were, I see why
your approach was safer, but as you said, it doesn't buy us much anyway.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: serverlog rotation/functions
Next
From: Andreas Pflug
Date:
Subject: Re: serverlog rotation/functions