Re: CREATE SYNONYM ... - Mailing list pgsql-patches

From Tom Lane
Subject Re: CREATE SYNONYM ...
Date
Msg-id 20247.1142353777@sss.pgh.pa.us
Whole thread Raw
In response to Re: CREATE SYNONYM ...  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Responses Re: CREATE SYNONYM ...  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
=?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= <postgres@cybertec.at> writes:
> Peter Eisentraut wrote:
>> Does any SQL-like database system other than Oracle have this feature?

> the most popular are: db2, max db, informix, ms sql.
> in other words: all databases which are widely used and widely accepted.

That argument only holds water if they all support it with the same
semantics, a fact not in evidence.  I'm not impressed by whether they
all have things they call synonyms, unless they all work alike.  What
are their approaches to permissions?  What happens if the referenced
object is dropped or modified?  Can you make a synonym to something that
doesn't exist yet?  What sorts of objects can have synonyms?

            regards, tom lane

pgsql-patches by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: CREATE SYNONYM ...
Next
From: Andrew Dunstan
Date:
Subject: Re: CREATE SYNONYM ...