Re: Proposal for SYNONYMS - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Proposal for SYNONYMS
Date
Msg-id 20060309100242.W22711@megazone.bigpanda.com
Whole thread Raw
In response to Re: Proposal for SYNONYMS  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Proposal for SYNONYMS  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Thu, 9 Mar 2006, Stephen Frost wrote:

> * Jonah H. Harris (jonah.harris@gmail.com) wrote:
> > On 3/9/06, William ZHANG <uniware@zedware.org> wrote:
> > > Or should we let
> > >     DROP TABLE foo CASCADE;
> > > to drop the SYNONYMS depended on the table?
> >
> > Yes, I don't see any reason not to allow a cascading table drop include
> > synonyms that reference them.
>
> Should a non-cascade drop fail or just implicitly drop the synonyms?
> I'm not sure which way I feel about this...  Users with only 'select'
> permissions on a given object can't currently create objects which
> depend on that object (such that dropping the object would then require
> 'cascade'), can they?

I think a user can create a view to a table they only have select on right
now and that should prevent non-cascade drops as well.



pgsql-hackers by date:

Previous
From: Volkan YAZICI
Date:
Subject: Re: 8.2 hold queue [MB Chars' Case Conversion]
Next
From: Stephen Frost
Date:
Subject: Re: Proposal for SYNONYMS