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. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq