"Christian Rengstl" <Christian.Rengstl@klinik.uni-regensburg.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