X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1263D9FA6B3 for ; Mon, 26 Jun 2006 17:26:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 01053-04 for ; Mon, 26 Jun 2006 17:26:22 -0300 (ADT) X-Greylist: delayed 00:23:23.713369 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id BD75F9FABE7 for ; Mon, 26 Jun 2006 17:26:09 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail.zanthus.com.br (mail.zanthus.com.br [200.212.65.85]) by svr4.postgresql.org (Postfix) with ESMTP id A58F05AF055 for ; Mon, 26 Jun 2006 20:02:42 +0000 (GMT) Received: from cprsakai ([192.168.0.71]) by mail.zanthus.com.br (8.13.4/8.13.4/Debian-3) with ESMTP id k5QK6Fnn010915; Mon, 26 Jun 2006 17:06:15 -0300 Reply-To: From: "Rodrigo Sakai" To: , Subject: RES: Hiding table structure information Date: Mon, 26 Jun 2006 17:02:44 -0300 Message-ID: <000301c6995b$7d5c9150$4700a8c0@TREEZANTHUS> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Thread-Index: AcaZW0oLdN8aEdJAQU255Hkg05phgwAAB04g X-Zanthus-MailScanner: Found to be clean X-Zanthus-MailScanner-From: rodrigo.sakai@zanthus.com.br X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/238 X-Sequence-Number: 22200 I think you have to use a view! You create a view on this table specifying only the columns the user may have access, and then you give privileges on this view instead of giving privileges on the table! -----Mensagem original----- De: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] Em nome de Carlos H. Reimer Enviada em: segunda-feira, 26 de junho de 2006 14:40 Para: pgsql-admin@postgresql.org Assunto: [ADMIN] Hiding table structure information Hello, Is there a way to hide the table definition structure from an user, even if the user has privileges to select data from that table? Reimer ---------------------------(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