Re: Information/schema hiding...

From: Neil Conway <neilc(at)samurai(dot)com>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Information/schema hiding...
Date: 2004-04-11 22:50:24
Message-ID: 1081723823.17216.6.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Sun, 2004-04-11 at 17:10, Sean Chittenden wrote:
> Should information hiding be done in psql(1) or should this be managed
> by the backend and all logic kept out of psql(1)?

If the intent of this feature is security, it seems totally pointless to
implement it in psql (leaving aside whether it's actually a good idea or
not).

[ WRT to search_path and nonexistent schemas ]

> > Why is that needed? It's already a no-op AFAIR. It also is
> > incompatible with the existing behavior, in which nonexistent schemas
> > (think "$user") are dropped silently rather than noisily.
>
> Actually, $user still works..

I think the more important question is: "Why is that needed?"

(Consider the PATH environmental var, which is fairly analogous to
search_path -- that doesn't complain if you add nonexistent directories
to it.)

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2004-04-12 00:49:05 Re: PostgreSQL configuration
Previous Message Andrew Dunstan 2004-04-11 22:37:41 Re: Information/schema hiding...

Browse pgsql-patches by date

  From Date Subject
Next Message Serguei Mokhov 2004-04-12 01:12:12 Russian FAQ update
Previous Message Andrew Dunstan 2004-04-11 22:37:41 Re: Information/schema hiding...