From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Christian Rengstl" <Christian(dot)Rengstl(at)klinik(dot)uni-regensburg(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Privileges on information_schema |
Date: | 2007-10-05 14:56:34 |
Message-ID: | 15901.1191596194@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Christian Rengstl" <Christian(dot)Rengstl(at)klinik(dot)uni-regensburg(dot)de> writes:
> whenever I execute the following query as admin I get all results, but
> as soon as I execute it as a less-privileged user the result is empty.
> SELECT * FROM information_schema.schemata
The SQL standard specifies that information_schema.schemata shows you
only schemas you own. We are slightly laxer: we'll show you a schema
if you're a member of its owning role.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | A. Kretschmer | 2007-10-05 14:57:08 | Re: Request: Anyone using bogus / "humorous" X-Message-Flag headers, could we please turn them off |
Previous Message | Scott Marlowe | 2007-10-05 14:55:13 | Re: Request: Anyone using bogus / "humorous" X-Message-Flag headers, could we please turn them off |