Re: Proposal for SYNONYMS - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: Proposal for SYNONYMS
Date
Msg-id 36e682920603091342t5228cd8er3c727ffb752991e0@mail.gmail.com
Whole thread Raw
In response to Re: Proposal for SYNONYMS  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Proposal for SYNONYMS  (elein <elein@varlena.com>)
Re: Proposal for SYNONYMS  (Kris Jurka <books@ejurka.com>)
List pgsql-hackers
On 3/9/06, Josh Berkus <josh@agliodbs.com> wrote:
1) Is there a SQL standard for this?

Nope.

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.  However, it would take substantially more work to implement updatable views than synonyms and the functionality of updatable views is substantially different than the use of synonyms alone.  If/when updatable views are implemented, I wouldn't have a problem switching create synonym to actually create a view.

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Proposal for SYNONYMS
Next
From: Stephen Frost
Date:
Subject: Re: Coverity Open Source Defect Scan of PostgreSQL