mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Revert "Temporarily make pg_ctl and server shutdown a whole lot chattier."
This reverts commit 3971f64843
and a
couple of followon debugging commits; I think we've learned what we can
from them.
This commit is contained in:
@ -1691,10 +1691,6 @@ BufferSync(int flags)
|
||||
UnlockBufHdr(bufHdr);
|
||||
}
|
||||
|
||||
elog(IsPostmasterEnvironment ? LOG : NOTICE,
|
||||
"BufferSync(%x) beginning to write %d buffers at %s",
|
||||
flags, num_to_write, current_time_as_str());
|
||||
|
||||
if (num_to_write == 0)
|
||||
return; /* nothing to do */
|
||||
|
||||
@ -1749,11 +1745,6 @@ BufferSync(int flags)
|
||||
if (num_written >= num_to_write)
|
||||
break;
|
||||
|
||||
if ((num_written % 1024) == 0)
|
||||
elog(IsPostmasterEnvironment ? LOG : NOTICE,
|
||||
"BufferSync(%x) wrote %d/%d buffers at %s",
|
||||
flags, num_written, num_to_write, current_time_as_str());
|
||||
|
||||
/*
|
||||
* Sleep to throttle our I/O rate.
|
||||
*/
|
||||
@ -1765,10 +1756,6 @@ BufferSync(int flags)
|
||||
buf_id = 0;
|
||||
}
|
||||
|
||||
elog(IsPostmasterEnvironment ? LOG : NOTICE,
|
||||
"BufferSync(%x) done, wrote %d/%d buffers at %s",
|
||||
flags, num_written, num_to_write, current_time_as_str());
|
||||
|
||||
/*
|
||||
* Update checkpoint statistics. As noted above, this doesn't include
|
||||
* buffers written by other backends or bgwriter scan.
|
||||
|
Reference in New Issue
Block a user