Re: Proposal for SYNONYMS

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal for SYNONYMS
Date: 2006-03-10 20:49:41
Message-ID: Pine.BSO.4.63.0603101548340.8605@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Luke Lonergan 2006-03-10 21:26:52 Re: random observations while testing with a 1,8B row
Previous Message Stefan Kaltenbrunner 2006-03-10 20:23:48 Re: random observations while testing with a 1,8B row table