Re: [GENERAL] Stats Collector

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Stats Collector
Дата
Msg-id 200207302004.g6UK4jg18177@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Stats Collector  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Stats Collector  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> It all works now and I have just submitted it to -patches as a new contrib,
> >> but it probably should make its way into the backend one day.
> 
> > OK, the big question is how do we want to make stats reset visible to
> > users?  The current patch uses a function call.  Is that how we want to
> > do it?
> 
> Should we make it visible at all?  I'm concerned about security.

Yea, as long as it is in contrib, only the super-user can install it,
but once installed, anyone can run it, I think.  

A function seems like the wrong way to go on this.  SET has super-user
protections we could use to control this but I am not sure what SET
syntax to use.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: WAL file location
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WAL file location