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

From Andrew Dunstan
Subject Re: CREATE SYNONYM ...
Date
Msg-id 4416F303.9030801@dunslane.net
Whole thread Raw
In response to Re: CREATE SYNONYM ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE SYNONYM ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:

>=?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?
>
>
>
>

"all" might also be a bit of an overstatement. AFAIK Sybase at least
doesn't have these.

Even if they don't all have precisely the same semantics, though, is
there an objection in principle to providing synonyms?

cheers

andrew


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: CREATE SYNONYM ...
Next
From: Tom Lane
Date:
Subject: Re: CREATE SYNONYM ...