| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> |
| Cc: | "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: A question about ExplainOnePlan() |
| Date: | 2006-12-13 16:52:17 |
| Message-ID: | 8570.1166028737@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> writes:
> On 12/13/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ohp | 2006-12-13 18:50:38 | Re: unixware and --with-ldap |
| Previous Message | Tom Lane | 2006-12-13 16:23:14 | Re: Plan invalidation plans |