Small clarification in "34.41. schemata" - Mailing list pgsql-docs

From Ian Lawrence Barwick
Subject Small clarification in "34.41. schemata"
Date
Msg-id CAB8KJ=g317u8GVyoi+E8cByOGVa+iNVsriTgC+XFA-k2wqpCTA@mail.gmail.com
Whole thread Raw
Responses Privileges for INFORMATION_SCHEMA.SCHEMATA (was Re: Small clarification in "34.41. schemata")  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
The documentation says:

  The view schemata contains all schemas in the current database that
are owned by a currently enabled role.

( http://www.postgresql.org/docs/9.2/static/infoschema-schemata.html )

However it shows all schemas if the user is a superuser, regardless of
whether the schema is owned by the superuser.

Does the documentation need clarifying? I'd suggest something like:


  The view schemata contains all schemas in the current database that
are owned by a currently enabled role, or all schemas if the currently
enabled role is a superuser.


Regards

Ian Lawrence Barwick


pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL docs in ePub format
Next
From: Tom Lane
Date:
Subject: Privileges for INFORMATION_SCHEMA.SCHEMATA (was Re: Small clarification in "34.41. schemata")