Re: A question about ExplainOnePlan()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A question about ExplainOnePlan()
Дата
Msg-id 8570.1166028737@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: A question about ExplainOnePlan()  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> On 12/13/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> No; at least not unless you want to duplicate the permission-checking
>> machinery inside ExecutorStart.

> I had seen the ExecCheckRTPerms() call inside InitPlan(), but didn't know
> that we considered even the EXPLAIN output to be so sensitive.

It's the same reason why pg_statistic isn't publicly readable.  The
standard example is that the min and max of an employee.salary column
are probably things that would be embarrassing to expose to everyone
in the company ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Plan invalidation plans
Следующее
От: ohp@pyrenet.fr
Дата:
Сообщение: Re: unixware and --with-ldap