Re: Do we want SYNONYMS?

Поиск
Список
Период
Сортировка
Искать
От
Daniel Verite
Тема
Re: Do we want SYNONYMS?
Дата
Msg-id
08f923ad-c2c5-4861-a17d-11225c4b5467@mm
Ответ на
Список
Дерево обсуждения
Re: Do we want SYNONYMS? Jasen Betts <jasen@xnet.co.nz>
Re: Do we want SYNONYMS? Alexey Klyukin <alexk@commandprompt.com>
	Vick Khera wrote:

> On Mon, Dec 6, 2010 at 2:31 PM, Joshua D. Drake 
> wrote:
> > Command Prompt is currently considering writing a patch to provide
> > synonyms to PostgreSQL. Is this something the community is interested
> > in? Do we have use cases for it? MSSQL, DB2 and Oracle support them.
> >
> 
> I must be missing something, but really, what's the point of synonyms?
>  What's the real-world use case for them?

It's about decoupling the name from the actual object, much like what soft
links are for file systems.
It's convenient when you need to change the underlying object without
touching the application code.

Best regards,
-- 
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org
В списке pgsql-general по дате отправления
От: Reuven M. Lerner
Дата:
От: Michael C Rosenstein
Дата:
Сообщение: Re: Do we want SYNONYMS?
FAQ