| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | johnf <jfabiani(at)yolo(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Information schema permissions |
| Date: | 2008-02-06 23:37:22 |
| Message-ID: | 20040.1202341042@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
johnf <jfabiani(at)yolo(dot)com> writes:
> Assume a standard install on Linux (what ever that means). Would a normal
> user have access to information schema? I have a front end written in python
> that accesses tables and permissions are set based on roles. But I do
> nothing with respect to the information schema view. I would like my program
> to access the view. Would there be anything preventing a standard user
> from 'SELECT' access?
The information schema views are accessible to anyone, but be aware that
they show different sets of rows to different people --- you can only
see rows that are about tables that you have some access permissions
for. This might or might not confuse your app ...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | TJ O'Donnell | 2008-02-07 00:37:16 | Re: Create Table xtest (like xtype) |
| Previous Message | Tom Lane | 2008-02-06 23:21:14 | Re: Create Table xtest (like xtype) |