]> granicus.if.org Git - postgresql/commit
Improve the checkpoint signaling mechanism so that the bgwriter can tell
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jun 2005 00:00:52 +0000 (00:00 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jun 2005 00:00:52 +0000 (00:00 +0000)
commit401de9c8bef9c77dd25ba6c111094bba14d470d8
tree738800a9089309f559c51ac55de740b55cb0ec4d
parentb5f7cff84f57a189ed5c9dd59efe8d2568649d0d
Improve the checkpoint signaling mechanism so that the bgwriter can tell
the difference between checkpoints forced due to WAL segment consumption
and checkpoints forced for other reasons (such as CREATE DATABASE).  Avoid
generating 'checkpoints are occurring too frequently' messages when the
checkpoint wasn't caused by WAL segment consumption.  Per gripe from
Chris K-L.
src/backend/access/transam/clog.c
src/backend/access/transam/xlog.c
src/backend/commands/dbcommands.c
src/backend/postmaster/bgwriter.c
src/backend/tcop/utility.c
src/include/postmaster/bgwriter.h