"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