RES: Hiding table structure information - Mailing list pgsql-admin

From Rodrigo Sakai
Subject RES: Hiding table structure information
Date
Msg-id 000301c6995b$7d5c9150$4700a8c0@TREEZANTHUS
Whole thread Raw
In response to Hiding table structure information  ("Carlos H. Reimer" <carlosreimer@terra.com.br>)
Responses RES: Hiding table structure information  ("Carlos H. Reimer" <carlosreimer@terra.com.br>)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: "Rodrigo Sakai"
Date:
Subject: RES: Using PostgreSQL and MIcrosoft SQLServer on the same server
Next
From: "Chris Hoover"
Date:
Subject: 8.1.3 - autovacuum question