Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible - Mailing list pgsql-hackers

From MauMau
Subject Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible
Date
Msg-id 843E3533897C408ABB614B6D55A13910@maumau
Whole thread Raw
In response to Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
From: "Tom Lane" <tgl@sss.pgh.pa.us>
> "MauMau" <maumau307@gmail.com> writes:
>> If the directory specified by stats_temp_directory becomes inaccessible 
>> to
>> postgres, enormous amount of WARNING messages are output.
>
> Well, yeah, because all of that functionality just broke.  Not warning
> about it doesn't seem like a good idea.  AFAICT, your patch would result
> in the situation not being remarked on anywhere except in the postmaster
> log.

No, my patch makes backend_read_statsfile_timestamp() emit just one warning 
message instead of outputing the same message 1,000 times in one call.  So 
your concern does not exist.  Is this OK?

Regards
MauMau





pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pageinspect documentation for 9.3
Next
From: Mike Blackwell
Date:
Subject: Re: Performance Improvement by reducing WAL for Update Operation