Skip site navigation (1) Skip section navigation (2)

Re: Hiding table structure information

From: "Aaron Bono" <postgresql(at)aranya(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: carlosreimer(at)terra(dot)com(dot)br, rodrigo(dot)sakai(at)zanthus(dot)com(dot)br, pgsql-admin(at)postgresql(dot)org
Subject: Re: Hiding table structure information
Date: 2006-06-27 00:48:32
Message-ID: bf05e51c0606261748v6188d251qb515466b71e17d48@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Would there be a way to set up the 2 databases - one with the tables and
data and the other that connects to the first with views into the second
database?

Actually I am interested because I will soon need to set up a way to feed
data to multiple databases and would love to have a stored procedure or
trigger that, when the data is updated in one database, the changes are
propagated to all the other databases.

Thanks,
Aaron

On 6/26/06, Jonah H. Harris <jonah(dot)harris(at)gmail(dot)com> wrote:
>
> On 6/26/06, Carlos H. Reimer <carlosreimer(at)terra(dot)com(dot)br> wrote:
> > Maybe the question should be reformulted to: is there a way to hide
> > pg_catalog schema? I think it can?t not be done because all metadata are
> > there, but maybe somebody can see a solution.
>
> You could use a set returning function and a view to hide the original
> table's details.  As for hiding pg_catalog... I believe you could
> create a rule on it.
>
> Never tried to hide something this extensively... and don't really
> understand a practical reason for doing so.  Remember, security
> through obscurity is flawed from the get go.
>
> --
> Jonah H. Harris, Software Architect | phone: 732.331.1300
> EnterpriseDB Corporation            | fax: 732.331.1301
> 33 Wood Ave S, 2nd Floor            | jharris(at)enterprisedb(dot)com
> Iselin, New Jersey 08830            | http://www.enterprisedb.com/
>
>

In response to

Responses

pgsql-admin by date

Next:From: AndyDate: 2006-06-27 07:12:03
Subject: Re: [SOLVED] Problem Setting DateStyle
Previous:From: Aaron BonoDate: 2006-06-27 00:20:40
Subject: Re: Problem Setting DateStyle

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group