Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible

Поиск
Список
Период
Сортировка
От MauMau
Тема Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible
Дата
Msg-id 843E3533897C408ABB614B6D55A13910@maumau
обсуждение исходный текст
Ответ на Re: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pageinspect documentation for 9.3
Следующее
От: Mike Blackwell
Дата:
Сообщение: Re: Performance Improvement by reducing WAL for Update Operation