X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E6F97D1B560 for ; Wed, 22 Oct 2003 17:47:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 57345-06 for ; Wed, 22 Oct 2003 14:47:00 -0300 (ADT) Received: from mail2.uvt.nl (mail2.uvt.nl [137.56.0.62]) by svr1.postgresql.org (Postfix) with ESMTP id DF895D1B55C for ; Wed, 22 Oct 2003 14:46:57 -0300 (ADT) Received: from pi1448.uvt.nl (pi1448.uvt.nl [137.56.41.178]) by mail2.uvt.nl (8.12.9/8.12.9) with ESMTP id h9MHkBcC028870 for ; Wed, 22 Oct 2003 19:46:12 +0200 (MEST) Received: from uvt.nl (pi1448.uvt.nl [137.56.41.178]) by pi1448.uvt.nl (Postfix) with ESMTP id 800B430077 for ; Wed, 22 Oct 2003 19:46:11 +0200 (CEST) Message-ID: <3F96C263.5090808@uvt.nl> Date: Wed, 22 Oct 2003 19:46:11 +0200 From: Fred Vos User-Agent: Mozilla/5.0 (X11; U; Linux i686; nl-NL; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Visibility of objects in other schema's Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20021116-patch-4 (http://amavis.org/) on mailone.uvt.nl X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200310/284 X-Sequence-Number: 10845 Hello, Since version 7.3 of PostgreSQL it's possible to create schema's. The User's Guide (paragraph 2.8.4) says that it is not possible to view objects from a schema you do not own: "By default, users cannot see the objects in schemas they do not own." I'm using PostgreSQL 7.3.4 under Linux. As the administrator I created two schema's for two users: create schema vosf authorization vosf; create schema snefru authorization snefru; If I logon to the database with psql as user vosf and create a table, it is created under schema vosf. That's good. If I logon to the same database with psql as user snefru and issue: \d vosf.* I can see all tables within the vosf schema. Paragraph 2.8.4 says I should not. I cannot do selects from these tables, but I think seeing what tables a user has created and which columns these have is wrong. I want to use a single database on a single server, but this visibility issue keeps me using multiple databases. Is it considered a problem? If so, is it a known problem? Not subscribed anymore to any PostgreSQL list, I searched the archives, but did not find a similar question. Thanks for any help. PostgreSQL is a great database. Fred