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?  (Vick Khera <vivek@khera.org>)
Ответы Re: Do we want SYNONYMS?  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
    Vick Khera wrote:

> On Mon, Dec 6, 2010 at 2:31 PM, Joshua D. Drake <jd@commandprompt.com>
> 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"
Дата:
Сообщение: Hanging with pg_restore and large objects
Следующее
От: Michael C Rosenstein
Дата:
Сообщение: Re: Do we want SYNONYMS?