Re: serverlog rotation/functions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: serverlog rotation/functions
Дата
Msg-id 200407162240.i6GMe4L03174@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: serverlog rotation/functions  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: serverlog rotation/functions
Список pgsql-hackers
Andreas Pflug wrote:
> Andreas Pflug wrote:
> 
> > 
> > Ah wait.
> > Digging further behind SIGUSR1 I now *do* see a solution without pid in 
> > shmem, using SendPostmasterSignal. Well, a little hint from gurus would 
> > have helped...
> > 
> 
> Oops, SendPostmasterSignal uses shmem....
> 
> At least, this enables syslogger.c to be free from shmem stuff, except 
> for PGSharedMemDetach.

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,
meaning we would loose logging info at a time we really need it ---
again a good reason not to use shared memory in the logger.

--  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: serverlog rotation/functions
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: serverlog rotation/functions