Re: Proposal for SYNONYMS - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Proposal for SYNONYMS
Date
Msg-id 20060309140705.N29136@megazone.bigpanda.com
Whole thread Raw
In response to Re: Proposal for SYNONYMS  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Proposal for SYNONYMS  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Re: Proposal for SYNONYMS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 9 Mar 2006, Josh Berkus wrote:

> Jonah,
>
> > This email is a preliminary design for the implementation of synonyms in
> > PostgreSQL.  Comments and suggestions are welcomed.
>
> 1) Is there a SQL standard for this?
>
> 2) For my comprehension, what's the difference between a SYNONYM and a
> single-object (possibly updatable) view?

I think with the plan as described, the permissions handling is slightly
different from how we handle views. As I understood the synonym plan, a
person with select on the synonym but not on the referenced table wouldn't
be able to select through the synonym, while if the view was created by
someone with select a person with select on the view could select through
the view.


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Coverity Open Source Defect Scan of PostgreSQL
Next
From: "Jonah H. Harris"
Date:
Subject: Re: Proposal for SYNONYMS