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

Help with finding checkpoint code

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Help with finding checkpoint code
Date: 2002-09-01 03:27:08
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2002-09-01 03:51:04
Subject: Re: Help with finding checkpoint code
Previous:From: Bruce MomjianDate: 2002-09-01 02:45:00
Subject: Re: CREATE CAST requires immutable cast function?

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