Re: Another proposal for table synonyms

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Another proposal for table synonyms
Дата
Msg-id 4CF558F3.8070907@agliodbs.com
обсуждение исходный текст
Ответ на Another proposal for table synonyms  (Alexey Klyukin <alexk@commandprompt.com>)
Ответы Re: Another proposal for table synonyms  (Alexey Klyukin <alexk@commandprompt.com>)
Re: Another proposal for table synonyms  (Csaba Nagy <ncslists@googlemail.com>)
Список pgsql-hackers
Alexey,

> Here is the proposal to add synonyms to PostgreSQL. Initial goal is to add synonyms
> for relations (tables, views, sequences) and an infrastructure to allow synonyms
> for other database objects in the future. 

Can you explain, for our benefit, the use case for this?  Specifically,
what can be done with synonyms which can't be done with search_path and
VIEWs?

I ask partly because I've migrated some Oracle databases to PostgreSQL,
and did not find replacing the functionality of synonyms to be at all
difficult.  Presumably you've run into a case which was difficult?

BTW, I have a specific use case for *column* synonyms which isn't
currently covered by our existing tools.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yeb Havinga
Дата:
Сообщение: Re: Fix for seg picksplit function
Следующее
От: Josh Berkus
Дата:
Сообщение: Where are we on Standby Promotion?