Help with finding checkpoint code - Mailing list pgsql-hackers

From Bruce Momjian
Subject Help with finding checkpoint code
Date
Msg-id 200209010327.g813R8x07728@candle.pha.pa.us
Whole thread Raw
Responses Re: Help with finding checkpoint code  (Alvaro Herrera <alvherre@atentus.com>)
Re: Help with finding checkpoint code  ("J. R. Nield" <jrnield@usol.com>)
List pgsql-hackers
I am trying to find when WAL log files are rotated.  The message is:
 2002-02-11 21:18:13 DEBUG: recycled transaction log file 0000000000000005

and it is printed in MoveOfflineLogs(), and MoveOfflineLogs() is only
called by CreateCheckPoint(), but I can't see where CreateCheckPoint()
is called in normal operation.  I see it called by CHECKPOINT, and on
startup and shutdown, and from bootstrap, but where is it called during
normal backend operation.

--  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: Bruce Momjian
Date:
Subject: Re: CREATE CAST requires immutable cast function?
Next
From: Alvaro Herrera
Date:
Subject: Re: Help with finding checkpoint code