"Christian Rengstl" <Christian.Rengstl@xxxxxxxxxxxxxxxxxxxxxxxx> 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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match