Re: Proposal for SYNONYMS - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: Proposal for SYNONYMS
Date
Msg-id Pine.BSO.4.63.0603101548340.8605@leary.csoft.net
Whole thread Raw
In response to Re: Proposal for SYNONYMS  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Responses Re: Proposal for SYNONYMS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On Thu, 9 Mar 2006, Jonah H. Harris wrote:

> 2) For my comprehension, what's the difference between a SYNONYM and a
>> single-object (possibly updatable) view?
>
> Not a whole lot actually.  If we had updateable views, I'd suggest that
> people change their create synonym syntax to create view.

One key difference would be that synonyms track schema updates, like 
adding a column, to the referenced object that a view would not.

Kris Jurka



pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: random observations while testing with a 1,8B row table
Next
From: "Luke Lonergan"
Date:
Subject: Re: random observations while testing with a 1,8B row