Re: [HACKERS] Help with finding checkpoint code

2002-09-01 Thread Bruce Momjian
Thanks, got it. --- J. R. Nield wrote: > It is called by a special child process of the postmaster after a > signal. Search for PMSIGNAL_DO_CHECKPOINT in xlog.c and in postmaster.c. > The checkpoint process gets started out

Re: [HACKERS] Help with finding checkpoint code

2002-08-31 Thread J. R. Nield
It is called by a special child process of the postmaster after a signal. Search for PMSIGNAL_DO_CHECKPOINT in xlog.c and in postmaster.c. The checkpoint process gets started out of sigusr1_handler(). On Sat, 2002-08-31 at 23:27, Bruce Momjian wrote: > I am trying to find when WAL log files are

Re: [HACKERS] Help with finding checkpoint code

2002-08-31 Thread Alvaro Herrera
En Sat, 31 Aug 2002 23:27:08 -0400 (EDT) Bruce Momjian <[EMAIL PROTECTED]> escribió: > 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 0005 > > and it is printed in MoveOfflineLogs(), and MoveOffline

[HACKERS] Help with finding checkpoint code

2002-08-31 Thread Bruce Momjian
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 0005 and it is printed in MoveOfflineLogs(), and MoveOfflineLogs() is only called by CreateCheckPoint(), but I can't see where CreateCheckPoint() is called