Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu8Jd-0000bH-1L for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 22:45:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wu8Jb-0002Ju-8n for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 22:45:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wu8Al-000262-Ve for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 22:36:12 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu8Ad-000386-CA for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 22:36:10 +0000 MIME-Version: 1.0 Subject: BUG #10588: inconsistent permissions for InformationSchema tables.. To: pgsql-bugs@postgresql.org From: tysonzwicker@gmail.com Date: Mon, 09 Jun 2014 22:35:26 +0000 Message-ID: <20140609223526.2583.43153@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 10588 Logged by: Tyson Zwicker Email address: tysonzwicker@gmail.com PostgreSQL version: 9.1.9 Operating system: Win 7 x64 Description: In InformationSchema the "constraint_column_usage" table is only accessible via the super user account, despite other tables (I tested table_constraints and key_column_usage) being accessible to any account that was GRANTed ALL permissions. Furthermore, attempting to select from "constraint_column_usage" did not throw an error of any kind, it just returned 0 rows. Once I did the same query logged in as "postgres" the query returned rows. I feel that a> An error should be thrown rather than returning 0 rows and that b> the access of tables in InformationSchema should be consistent across ALL of the tables. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs